mirror of
https://gitlab.com/apparmor/apparmor
synced 2025-09-01 06:45:38 +00:00
profiles: dnsmasq: add Waydroid pid file
Waydroid uses LXC and some lxc-net equivalent scripts. Allow that.
b910c89174/data/scripts/waydroid-net.sh
https://web.archive.org/web/20221202141315/https://docs.waydro.id/debugging/known-issues
Signed-off-by: Cameron Nemo <cam@nohom.org>
This commit is contained in:
@@ -115,6 +115,9 @@ profile dnsmasq /usr/{bin,sbin}/dnsmasq flags=(attach_disconnected) {
|
|||||||
owner @{run}/user/*/containers/cni/dnsname/*/addnhosts r,
|
owner @{run}/user/*/containers/cni/dnsname/*/addnhosts r,
|
||||||
owner @{run}/user/*/containers/cni/dnsname/*/pidfile rw,
|
owner @{run}/user/*/containers/cni/dnsname/*/pidfile rw,
|
||||||
|
|
||||||
|
# waydroid lxc-net pid file
|
||||||
|
@{run}/waydroid-lxc/dnsmasq.pid rw,
|
||||||
|
|
||||||
profile libvirt_leaseshelper {
|
profile libvirt_leaseshelper {
|
||||||
include <abstractions/base>
|
include <abstractions/base>
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user