[pkg-apparmor] Packages fail to install when apparmor_parser fails to remove policies

intrigeri intrigeri at debian.org
Thu Mar 10 10:05:57 UTC 2016


Hi,

Christian Boltz wrote (23 Feb 2016 21:58:25 GMT) :
>> Unfortunately, I'm not even sure where to start looking to fix this 
>> :V

> The easiest fix is to ignore errors if unloading a profile fails:

>     apparmor_parser -R /etc/apparmor.d/whatever || true

Indeed, it seems to be a bug in openntpd.preinst, that does:

  apparmor_parser -R /etc/apparmor.d/usr.sbin.ntpd

Cheers,
-- 
intrigeri



More information about the pkg-apparmor-team mailing list