apparmor/apparmor-2.8.2-nm-dnsmasq-config.patch

17 lines
673 B
Diff
Raw Normal View History

Index: profiles/apparmor.d/usr.sbin.dnsmasq
===================================================================
--- profiles/apparmor.d/usr.sbin.dnsmasq.orig
+++ profiles/apparmor.d/usr.sbin.dnsmasq
@@ -55,6 +55,11 @@
/{,var/}run/nm-dns-dnsmasq.conf r,
/{,var/}run/sendsigs.omit.d/*dnsmasq.pid w,
/{,var/}run/NetworkManager/dnsmasq.conf r,
+ # new dnsmasq config path (as of 2012-11-05)
+ /{,var/}run/NetworkManager/dnsmasq.pid w,
+ # dnsmasq supplemental config directory
+ /etc/NetworkManager/dnsmasq.d/ r,
+ /etc/NetworkManager/dnsmasq.d/* r,
# Site-specific additions and overrides. See local/README for details.
#include <local/usr.sbin.dnsmasq>