[apparmor] [patch] smbd: changed cachedir in openSUSE

Seth Arnold seth.arnold at canonical.com
Mon Aug 11 18:10:58 UTC 2014


On Sun, Aug 10, 2014 at 10:01:54PM +0200, Christian Boltz wrote:
> 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.

Acked by: Seth Arnold <seth.arnold at canonical.com>

For both trunk and 2.8.

thanks

> 
> 
> === 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
> AppArmor at lists.ubuntu.com
> Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/apparmor
> 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: Digital signature
URL: <https://lists.ubuntu.com/archives/apparmor/attachments/20140811/7802ab7e/attachment.pgp>


More information about the AppArmor mailing list