- delete cache in apparmor-profiles %post (workaround for

bnc#904620#c8 / lp#1392042)

OBS-URL: https://build.opensuse.org/package/show/security:apparmor/apparmor?expand=0&rev=109
This commit is contained in:
Christian Boltz 2014-11-16 16:38:29 +00:00 committed by Git OBS Bridge
parent 62b0b4baf3
commit ce726570fb
2 changed files with 8 additions and 0 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Sun Nov 16 16:28:14 UTC 2014 - opensuse@cboltz.de
- delete cache in apparmor-profiles %post (workaround for
bnc#904620#c8 / lp#1392042)
-------------------------------------------------------------------
Fri Nov 14 09:18:07 UTC 2014 - dimstar@opensuse.org

View File

@ -853,6 +853,8 @@ fi
%post profiles
%if %{distro} == "suse"
# workaround for bnc#904620#c8 / lp#1392042
rm -f /var/cache/apparmor/*
#restart_on_update boot.apparmor - but non-broken (bnc#853019)
# (copy&paste from parser postun script)
test -n "$FIRST_ARG" || FIRST_ARG=$1