[apparmor] [patch] Samba "vfs objects"

Steve Beattie steve at nxnw.org
Tue Nov 1 13:29:37 UTC 2011


On Mon, Oct 31, 2011 at 08:12:07PM +0100, Christian Boltz wrote:
> Hello,
> 
> here's patch for the smbd profile (already included in the openSUSE 
> package, the timeline was too short to push it upstream and wait for the 
> RC2 release ;-)
> 
> ---------------------------------------------------------------------
> 
> Allow loading the libraries used for Samba "vfs objects = ..."
> 
> References: https://bugzilla.novell.com/show_bug.cgi?id=725967
> 
> Signed-off-by: Christian Boltz <apparmor at cboltz.de>
> 
> 
> === modified file 'profiles/apparmor.d/usr.sbin.smbd'
> --- profiles/apparmor.d/usr.sbin.smbd   2011-08-27 18:50:42 +0000
> +++ profiles/apparmor.d/usr.sbin.smbd   2011-10-26 20:43:13 +0000
> @@ -24,6 +24,7 @@
>    /etc/printcap r,
>    /proc/*/mounts r,
>    /proc/sys/kernel/core_pattern r,
> +  /usr/lib64/samba/vfs/*.so mr,

On ubuntu, even on x86_64 (aka amd64) systems, this path is

  /usr/lib/samba/vfs/*.so

Can you take that into account? Thanks.

>    /usr/sbin/smbd mr,
>    /etc/samba/* rwk,
>    /var/cache/samba/** rwk,

-- 
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/3b948e86/attachment.pgp>


More information about the AppArmor mailing list