[apparmor] [patch] update dnsmasq profile

Christian Boltz apparmor at cboltz.de
Sun Mar 29 22:40:06 UTC 2015


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.


[ 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
-- 
Jungs. Mit dem Argument kann ich kaputte Autos verkaufen und dann
erklären, daß Fahrradfahren eh viel gesünder ist.
[Peer Heinlein in postfixbuch-users]




More information about the AppArmor mailing list