[apparmor] [patch] update dnsmasq profile

Jamie Strandboge jamie at canonical.com
Sun Mar 29 23:19:12 UTC 2015


On 03/29/2015 05:40 PM, Christian Boltz wrote:
> Hello,
> 
> This patch allows /var/lib/misc/dnsmasq.*.leases rw,
> in the dnsmasq profile, which is required for lxc.
> 
> References: https://bugs.launchpad.net/apparmor/+bug/1403468
> 
> I propose this patch for trunk and 2.9.
> 
Acked-By: Jamie Strandboge <jamie at canonical.com>

for both

> 
> [ dnsmasq-lxc.diff ]
> 
> === modified file 'profiles/apparmor.d/usr.sbin.dnsmasq'
> --- profiles/apparmor.d/usr.sbin.dnsmasq        2014-12-22 16:56:37 +0000
> +++ profiles/apparmor.d/usr.sbin.dnsmasq        2015-03-29 22:35:37 +0000
> @@ -44,6 +44,7 @@
>    /{,var/}run/dnsmasq/* rw,
>  
>    /var/lib/misc/dnsmasq.leases rw, # Required only for DHCP server usage
> +  /var/lib/misc/dnsmasq.*.leases rw, # Required for lxc
>  
>    /bin/bash ix, # Required to execute --dhcp-script argument
>  
> 
> 
> 
> 
> Regards,
> 
> Christian Boltz
> 


-- 
Jamie Strandboge                 http://www.ubuntu.com/

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <https://lists.ubuntu.com/archives/apparmor/attachments/20150329/c1353e89/attachment.pgp>


More information about the AppArmor mailing list