mirror of
https://gitlab.com/apparmor/apparmor
synced 2025-08-31 22:35:35 +00:00
dnsmasq: allow paths for podman dnsname plugin in rootless mode
In rootless mode, files needed to access are under /run/user/, so those needs to be defined separately.
This commit is contained in:
committed by
Ilkka Ollakka
parent
c06ea77445
commit
86069dd934
@@ -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 <abstractions/base>
|
||||
|
Reference in New Issue
Block a user