[apparmor] [patch] nscd profile: allow reading libvirt/dnsmasq/*.status

Seth Arnold seth.arnold at canonical.com
Thu Dec 8 19:47:38 UTC 2016


On Thu, Dec 08, 2016 at 02:58:51PM +0100, Christian Boltz wrote:
> Hello,
> 
> $subject.
> 
> References: https://bugzilla.opensuse.org/show_bug.cgi?id=1014463
> 
> 
> I propose this patch for trunk, 2.10 and 2.9.
> 
> 
> [ nscd-libvirt.diff ]

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

Acked for all three.

Thanks

> 
> === modified file 'profiles/apparmor.d/usr.sbin.nscd'
> --- profiles/apparmor.d/usr.sbin.nscd   2016-11-18 19:17:43 +0000
> +++ profiles/apparmor.d/usr.sbin.nscd   2016-12-08 13:55:07 +0000
> @@ -30,6 +30,8 @@
>    /{,var/}run/nscd/socket wl,
>    /{var/cache,var/lib,var/run,run}/nscd/{passwd,group,services,hosts,netgroup} rw,
>    /{,var/}run/{nscd/,}nscd.pid rwl,
> +  /var/lib/libvirt/dnsmasq/ r,
> +  /var/lib/libvirt/dnsmasq/*.status r,
>    /var/log/nscd.log rw,
>    @{PROC}/@{pid}/cmdline r,
>    @{PROC}/@{pid}/fd/ r,
> 
> 
> 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: not available
URL: <https://lists.ubuntu.com/archives/apparmor/attachments/20161208/c4f10057/attachment.pgp>


More information about the AppArmor mailing list