[apparmor] [patch] dnsmasq profile - NetworkManager integration

John Johansen john.johansen at canonical.com
Mon Feb 17 21:45:52 UTC 2014


On 02/17/2014 01:41 PM, Christian Boltz wrote:
> Hello,
> 
> the dnsmasq profile needs some more permissions for NetworkManager 
> integration.
> 
> This is an updated version of the previous dnsmasq profile patch, again 
> from develop7 [at] develop7.info
> 
> I propose this patch for trunk and the 2.8 branch.
> 
> 
> === modified file 'profiles/apparmor.d/usr.sbin.dnsmasq'
> --- profiles/apparmor.d/usr.sbin.dnsmasq        2014-01-17 19:58:21
> +++ profiles/apparmor.d/usr.sbin.dnsmasq        2014-02-17 21:31:53
> @@ -29,6 +29,8 @@
>    /etc/dnsmasq.d/ r,
>    /etc/dnsmasq.d/* r,
>    /etc/ethers r,
> +  /etc/NetworkManager/dnsmasq.d/ r,
> +  /etc/NetworkManager/dnsmasq.d/* r,
>  
>    /usr/sbin/dnsmasq mr,
>  
> @@ -56,6 +58,7 @@
>    /{,var/}run/nm-dns-dnsmasq.conf r,
>    /{,var/}run/sendsigs.omit.d/*dnsmasq.pid w,
>    /{,var/}run/NetworkManager/dnsmasq.conf r,
> +  /{,var/}run/NetworkManager/dnsmasq.pid w,
>  
>    # Site-specific additions and overrides. See local/README for 
> details.
>    #include <local/usr.sbin.dnsmasq>
> 
> 
> 
> Regards,
> 
> Christian Boltz
> 
Acked-by: John Johansen <john.johansen at canonical.com>




More information about the AppArmor mailing list