+casper (1.102) gutsy; urgency=low
+
+ * Rename 42disable_cups_apparmor to 42disable_apparmor and remove AppArmor's
+ rc.d startup links instead of just disabling the cups profile. AA profiles
+ will not generally work on the live system, so disabling it completely
+ allows us to ship more profiles without worrying any further.
+ (LP: #131976)
+
+ -- Martin Pitt <martin.pitt@ubuntu.com> Fri, 14 Sep 2007 08:37:50 +0200
+
casper (1.101) gutsy; urgency=low
* Add scripts/casper-bottom/42disable_cups_apparmor: Disable AppArmor
. /scripts/live-functions
-log_begin_msg "Disabling AppArmor profile for Cups..."
+log_begin_msg "Disabling AppArmor (does not work with stacked file systems)..."
# live-initramfs script
-# workaround for AppArmor bug #131976
-
-PROFILE=/root/etc/apparmor.d/usr.sbin.cupsd
-
-if [ -e "$PROFILE" ]
-then
- sed -i '/{/ s/{/flags=(complain) {/' $PROFILE
-fi
+chroot /root update-rc.d -f apparmor remove
log_end_msg