diff --git a/profiles/apparmor.d/usr.sbin.dnsmasq b/profiles/apparmor.d/usr.sbin.dnsmasq index bffc09b4a..374c71215 100644 --- a/profiles/apparmor.d/usr.sbin.dnsmasq +++ b/profiles/apparmor.d/usr.sbin.dnsmasq @@ -111,6 +111,9 @@ profile dnsmasq /usr/{bin,sbin}/dnsmasq flags=(attach_disconnected) { @{run}/containers/cni/dnsname/*/dnsmasq.conf r, @{run}/containers/cni/dnsname/*/addnhosts r, @{run}/containers/cni/dnsname/*/pidfile rw, + owner @{run}/user/*/containers/cni/dnsname/*/dnsmasq.conf r, + owner @{run}/user/*/containers/cni/dnsname/*/addnhosts r, + owner @{run}/user/*/containers/cni/dnsname/*/pidfile rw, profile libvirt_leaseshelper { include