From cd3a23e7bf5a0618c969b52a803762f51a93c1ef Mon Sep 17 00:00:00 2001 From: Steve Beattie Date: Wed, 9 Oct 2013 13:42:41 -0700 Subject: [PATCH] cleanup usr.sbin.smbd profile From: Kshitij Gupta This patch removes:- 2 rules covered by abstractions in smbd profile: - /var/log/samba/cores/smbd/ rw and /var/log/samba/cores/smbd/** rw are in abstractions/samba covered by /var/log/samba/cores/** rw 1 superfluous rule: - /var/lib/samba/printers/** rw is covered by /var/lib/samba/** rwk Acked-by: Steve Beattie --- profiles/apparmor.d/usr.sbin.smbd | 3 --- 1 file changed, 3 deletions(-) diff --git a/profiles/apparmor.d/usr.sbin.smbd b/profiles/apparmor.d/usr.sbin.smbd index d8f3f37cd..9e1c149e5 100644 --- a/profiles/apparmor.d/usr.sbin.smbd +++ b/profiles/apparmor.d/usr.sbin.smbd @@ -35,13 +35,10 @@ /var/cache/samba/** rwk, /var/cache/samba/printing/printers.tdb mrw, /var/lib/samba/** rwk, - /var/lib/samba/printers/** rw, /{,var/}run/cups/cups.sock rw, /{,var/}run/dbus/system_bus_socket rw, /{,var/}run/samba/** rk, /{,var/}run/samba/smbd.pid rw, - /var/log/samba/cores/smbd/ rw, - /var/log/samba/cores/smbd/** rw, /var/spool/samba/** rw, @{HOMEDIRS}/** lrwk,