In Ubuntu 12.04, NetworkManager will spawn a dnsmasq non-caching local
resolver specifying a dnsmasq conffile of /var/run/nm-dns-dnsmasq.conf.
This updates the profile to allow read access to this file.

-- 
Jamie Strandboge             | http://www.canonical.com
------------------------------------------------------------
revno: 1928
committer: Jamie Strandboge <[email protected]>
branch nick: apparmor-trunk
timestamp: Tue 2012-01-17 07:12:02 -0600
message:
  Adjust dnsmasq profile for read access to /{,var/}run/nm-dns-dnsmasq.conf
  which is needed by NetworkManager integration in Ubuntu. (LP: #917628)
  
  Acked-by: Jamie Strandboge <[email protected]>
diff:
=== modified file 'profiles/apparmor.d/usr.sbin.dnsmasq'
--- profiles/apparmor.d/usr.sbin.dnsmasq	2011-12-17 17:20:53 +0000
+++ profiles/apparmor.d/usr.sbin.dnsmasq	2012-01-17 13:12:02 +0000
@@ -51,6 +51,9 @@
   /{,var/}run/libvirt/network/      r,
   /{,var/}run/libvirt/network/*.pid rw,
 
+  # NetworkManager integration
+  /{,var/}run/nm-dns-dnsmasq.conf r,
+
   # Site-specific additions and overrides. See local/README for details.
   #include <local/usr.sbin.dnsmasq>
 }

Attachment: signature.asc
Description: This is a digitally signed message part

-- 
AppArmor mailing list
[email protected]
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/apparmor

Reply via email to