[apparmor] [patch] Add new dnsmasq.leases location for lxd to dnsmasq profiles

Seth Arnold seth.arnold at canonical.com
Tue Oct 18 09:42:08 UTC 2016


On Mon, Oct 17, 2016 at 09:00:56PM +0200, Christian Boltz wrote:
> Hello,
> 
> $subject.
> 
> References: https://bugs.launchpad.net/bugs/1634199
> 
> 
> I propose this patch for trunk, 2.10 and 2.9.

Acked for all three, thanks

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

> 
> 
> [ profiles-dnsmasq.diff ]
> 
> === modified file 'profiles/apparmor.d/usr.sbin.dnsmasq'
> --- profiles/apparmor.d/usr.sbin.dnsmasq        2016-04-12 21:36:43 +0000
> +++ profiles/apparmor.d/usr.sbin.dnsmasq        2016-10-17 18:58:18 +0000
> @@ -77,6 +77,7 @@
>    # lxd-bridge pid and lease files
>    /{,var/}run/lxd-bridge/dnsmasq.pid   rw,
>    /var/lib/lxd-bridge/dnsmasq.*.leases rw,
> +  /var/lib/lxd/networks/*/dnsmasq.leases rw,
>  
>    # NetworkManager integration
>    /{,var/}run/nm-dns-dnsmasq.conf 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/20161018/9e1218cb/attachment.pgp>


More information about the AppArmor mailing list