[apparmor] [PATCH 1/1] dnsmasq: Remove lxd-bridge

Petr Vorel pvorel at suse.cz
Mon Nov 19 17:17:23 UTC 2018


lxd-bridge was removed in lxd 2.3

Signed-off-by: Petr Vorel <pvorel at suse.cz>
---
 profiles/apparmor.d/usr.sbin.dnsmasq | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/profiles/apparmor.d/usr.sbin.dnsmasq b/profiles/apparmor.d/usr.sbin.dnsmasq
index fba51259..edb7eee9 100644
--- a/profiles/apparmor.d/usr.sbin.dnsmasq
+++ b/profiles/apparmor.d/usr.sbin.dnsmasq
@@ -82,9 +82,7 @@ profile dnsmasq /usr/{bin,sbin}/dnsmasq flags=(attach_disconnected) {
   /{,var/}run/lxc/dnsmasq.pid    rw,
   /var/lib/misc/dnsmasq.*.leases rw,
 
-  # lxd-bridge pid and lease files
-  /{,var/}run/lxd-bridge/dnsmasq.pid   rw,
-  /var/lib/lxd-bridge/dnsmasq.*.leases rw,
+  # lxd pid and lease files
   /var/lib/lxd/networks/*/dnsmasq.* r,
   /var/lib/lxd/networks/*/dnsmasq.leases rw,
   /var/lib/lxd/networks/*/dnsmasq.pid rw,
-- 
2.19.1




More information about the AppArmor mailing list