[apparmor] [patch] Add new dnsmasq.leases location for lxd to dnsmasq profiles

Christian Boltz apparmor at cboltz.de
Mon Oct 17 19:00:56 UTC 2016


Hello,

$subject.

References: https://bugs.launchpad.net/bugs/1634199


I propose this patch for trunk, 2.10 and 2.9.


[ profiles-dnsmasq.diff ]

=== modified file 'profiles/apparmor.d/usr.sbin.dnsmasq'
--- profiles/apparmor.d/usr.sbin.dnsmasq        2016-04-12 21:36:43 +0000
+++ profiles/apparmor.d/usr.sbin.dnsmasq        2016-10-17 18:58:18 +0000
@@ -77,6 +77,7 @@
   # lxd-bridge pid and lease files
   /{,var/}run/lxd-bridge/dnsmasq.pid   rw,
   /var/lib/lxd-bridge/dnsmasq.*.leases rw,
+  /var/lib/lxd/networks/*/dnsmasq.leases rw,
 
   # NetworkManager integration
   /{,var/}run/nm-dns-dnsmasq.conf r,



Regards,

Christian Boltz
-- 
Das ist halt der Unterschied: Unix ist ein Betriebssystem mit Tradition,
die anderen sind einfach von sich aus unlogisch.        [Anselm Lingnau]
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: This is a digitally signed message part.
URL: <https://lists.ubuntu.com/archives/apparmor/attachments/20161017/6c968473/attachment.pgp>


More information about the AppArmor mailing list