summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/live-bottom/42disable_apparmor (renamed from scripts/live-bottom/42disable_cups_apparmor)11
1 files changed, 2 insertions, 9 deletions
diff --git a/scripts/live-bottom/42disable_cups_apparmor b/scripts/live-bottom/42disable_apparmor
index 09d1869..d325ddb 100755
--- a/scripts/live-bottom/42disable_cups_apparmor
+++ b/scripts/live-bottom/42disable_apparmor
@@ -27,17 +27,10 @@ fi
. /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