[apparmor] [patch] dnsmasq profile - NetworkManager integration

Christian Boltz apparmor at cboltz.de
Mon Feb 17 21:41:25 UTC 2014


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
-- 
|#|    Die drei wichtigsten Tugenden eines Programmierers:
|#|         Faulheit, Ungeduld und Selbstüberschätzung




More information about the AppArmor mailing list