Hello, openSUSE now compiles samba --with-cachedir=/var/lib/samba (instead of the default /var/cache/samba). This patch updates the smbd profile to match this change.
References: https://bugzilla.novell.com/show_bug.cgi?id=869787 I propose this patch for trunk and the 2.8 branch. === modified file 'profiles/apparmor.d/usr.sbin.smbd' --- profiles/apparmor.d/usr.sbin.smbd 2014-02-14 01:15:03 +0000 +++ profiles/apparmor.d/usr.sbin.smbd 2014-08-10 19:57:54 +0000 @@ -34,7 +34,7 @@ /usr/sbin/smbd mr, /usr/sbin/smbldap-useradd Px, /var/cache/samba/** rwk, - /var/cache/samba/printing/printers.tdb mrw, + /var/{cache,lib}/samba/printing/printers.tdb mrw, /var/lib/samba/** rwk, /var/lib/sss/pubconf/kdcinfo.* r, /{,var/}run/cups/cups.sock rw, Regards, Christian Boltz -- If nothing else, the 15 years I've been online have impressed upon me the ability of people to be offensive in new and inventive ways. [Joe 'Zonker' Brockmeier in opensuse-marketing] -- AppArmor mailing list [email protected] Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/apparmor
