From 2b959a80f82c7cd6c20a4dae105d833662f92373 Mon Sep 17 00:00:00 2001 From: Jamie Strandboge Date: Wed, 27 Jul 2011 09:32:35 -0500 Subject: [PATCH] This is bug #815883. The dnsmasq profile needs to be updated for newer libvirt. Patch is attached. The glob is needed since the lease file's name is derived from the libvirt network name. --- profiles/apparmor.d/usr.sbin.dnsmasq | 3 +++ 1 file changed, 3 insertions(+) diff --git a/profiles/apparmor.d/usr.sbin.dnsmasq b/profiles/apparmor.d/usr.sbin.dnsmasq index 5e60f4fd4..27c23dc46 100644 --- a/profiles/apparmor.d/usr.sbin.dnsmasq +++ b/profiles/apparmor.d/usr.sbin.dnsmasq @@ -34,6 +34,9 @@ /var/lib/misc/dnsmasq.leases rw, # Required only for DHCP server usage + # libvirt lease files for dnsmasq + /var/lib/libvirt/dnsmasq/*.leases rw, + # libvirt pid files for dnsmasq /var/run/libvirt/network/ r, /var/run/libvirt/network/*.pid rw,