[apparmor] [patch] Update samba profiles for samba 4.x

Seth Arnold seth.arnold at canonical.com
Tue Nov 19 22:32:45 UTC 2013


On Tue, Nov 19, 2013 at 10:28:28PM +0100, Christian Boltz wrote:
> Hello,
> 
> this is an updated version (actually v4) of my patches for smbd and nmbd 
> which I sent some weeks ago ("[patch] updated usr.sbin.smbd profile"), 
> and is already included in the packages for the just released 
> openSUSE 13.1.
> 
> The patch includes changes needed for Samba 4.x, which also includes 
> some small abstraction updates.
> 
> References: https://bugzilla.novell.com/show_bug.cgi?id=845867
> References: https://bugzilla.novell.com/show_bug.cgi?id=846054
> 
> I propose the patch for 2.8 and trunk (the patch is for 2.8, but it 
> should apply to trunk without problems)

Ack for both 2.8 and trunk.

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

> === modified file 'profiles/apparmor.d/usr.sbin.nmbd'
> --- profiles/apparmor.d/usr.sbin.nmbd   2011-08-27 18:50:42 +0000
> +++ profiles/apparmor.d/usr.sbin.nmbd   2013-10-20 11:54:48 +0000
> @@ -11,7 +11,9 @@
>  
>    /usr/sbin/nmbd mr,
>  
> +  /var/cache/samba/gencache.tdb rwk,
>    /var/{cache,lib}/samba/browse.dat* rw,
> +  /var/{cache,lib}/samba/gencache.dat rw,

The missing {,lib} on the first line makes my OCD tingle; is this correct?

Thanks
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 490 bytes
Desc: Digital signature
URL: <https://lists.ubuntu.com/archives/apparmor/attachments/20131119/4018e3c4/attachment.pgp>


More information about the AppArmor mailing list