[apparmor] [patch] abstractions/winbind doens't work with /usr/lib64/

Steve Beattie steve at nxnw.org
Tue Nov 1 16:11:58 UTC 2011


On Tue, Nov 01, 2011 at 04:57:44PM +0100, Christian Boltz wrote:
> while grepping through the profiles, I noticed that abstractions/winbind 
> contains 
>   /usr/lib/samba/valid.dat    r,
>   /usr/lib/samba/upcase.dat   r,
>   /usr/lib/samba/lowcase.dat  r,
> 
> Those files are in /usr/lib64/samba on my system...
> 
> Proposed patch:
> 
> === modified file 'profiles/apparmor.d/abstractions/winbind'
> --- profiles/apparmor.d/abstractions/winbind    2010-12-20 20:29:10 
> +++ profiles/apparmor.d/abstractions/winbind    2011-11-01 15:56:49
> @@ -13,7 +13,7 @@
>    /tmp/.winbindd/pipe  rw,
>    /var/{lib,run}/samba/winbindd_privileged/pipe rw,
>    /etc/samba/smb.conf         r,
> -  /usr/lib/samba/valid.dat    r,
> -  /usr/lib/samba/upcase.dat   r,
> -  /usr/lib/samba/lowcase.dat  r,
> +  /usr/lib*/samba/valid.dat   r,
> +  /usr/lib*/samba/upcase.dat  r,
> +  /usr/lib*/samba/lowcase.dat r,

Acked-By: Steve Beattie <sbeattie at ubuntu.com>

-- 
Steve Beattie
<sbeattie at ubuntu.com>
http://NxNW.org/~steve/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <https://lists.ubuntu.com/archives/apparmor/attachments/20111101/834a22c1/attachment.pgp>


More information about the AppArmor mailing list