summaryrefslogtreecommitdiffstats
path: root/config/chroot_local-patches
diff options
context:
space:
mode:
authorintrigeri <intrigeri@boum.org>2015-09-17 07:48:36 +0000
committerintrigeri <intrigeri@boum.org>2015-09-17 07:48:36 +0000
commit61135c03a955eb651f541ec8d4ab1409d6de07b4 (patch)
treeb7ecaeedee085072b367eee2f9b03650e27c37cc /config/chroot_local-patches
parente421171ec6c2c88393a125fb6c0cc344dbba4f2d (diff)
apparmor-adjust-cupsd-profile.diff: drop explicit support of /lib/live/mount/overlay.
This is now globally handled with aliases.
Diffstat (limited to 'config/chroot_local-patches')
-rw-r--r--config/chroot_local-patches/apparmor-adjust-cupsd-profile.diff28
1 files changed, 0 insertions, 28 deletions
diff --git a/config/chroot_local-patches/apparmor-adjust-cupsd-profile.diff b/config/chroot_local-patches/apparmor-adjust-cupsd-profile.diff
index 0ad86aa..3b27cc4 100644
--- a/config/chroot_local-patches/apparmor-adjust-cupsd-profile.diff
+++ b/config/chroot_local-patches/apparmor-adjust-cupsd-profile.diff
@@ -43,25 +43,6 @@
/usr/lib/cups/cgi-bin/* ixr,
/usr/lib/cups/daemon/* ixr,
-@@ -113,12 +121,12 @@
- /var/{cache,lib}/samba/printing/printers.tdb r,
- /{,var/}run/cups/ rw,
- /{,var/}run/cups/** rw,
-- /var/cache/cups/ rw,
-- /var/cache/cups/** rwk,
-- /var/log/cups/ rw,
-- /var/log/cups/* rw,
-- /var/spool/cups/ rw,
-- /var/spool/cups/** rw,
-+ /{,lib/live/mount/overlay/}var/cache/cups/ rw,
-+ /{,lib/live/mount/overlay/}var/cache/cups/** rwk,
-+ /{,lib/live/mount/overlay/}var/log/cups/ rw,
-+ /{,lib/live/mount/overlay/}var/log/cups/* rw,
-+ /{,lib/live/mount/overlay/}var/spool/cups/ rw,
-+ /{,lib/live/mount/overlay/}var/spool/cups/** rw,
-
- # third-party printer drivers; no known structure here
- /opt/** rix,
@@ -141,7 +149,7 @@
# silence noise
deny /etc/udev/udev.conf r,
@@ -71,12 +52,3 @@
# third party backends, filters, and drivers get relatively no restrictions
# as they often need high privileges, are unpredictable or otherwise beyond
# our control
-@@ -186,6 +194,6 @@
- /usr/lib/ghostscript/** mr,
- /usr/share/** r,
- /var/log/cups/cups-pdf_log w,
-- /var/spool/cups/** r,
-- /var/spool/cups-pdf/** rw,
-+ /{,lib/live/mount/overlay/}var/spool/cups/** r,
-+ /{,lib/live/mount/overlay/}var/spool/cups-pdf/** rw,
- }