mirror of
https://gitlab.com/apparmor/apparmor.git
synced 2025-03-04 08:24:42 +01:00
dnsmasq profile - update for libvirt files
dnsmasq needs read access to more files in /var/lib/libvirt/dnsmasq/ (at least *.conf and *.addnhosts) Since this directory contains only files that are intended for dnsmasq (also confirmed by Jim Fehlig, the SUSE libvirt maintainer), the best way is to just allow "/var/lib/libvirt/dnsmasq/* r," References: https://bugzilla.novell.com/show_bug.cgi?id=848215 +1'd for trunk and 2.8 by Jamie Strandboge <jamie@canonical.com>
This commit is contained in:
parent
68f86b7cfd
commit
6417e87d59
1 changed files with 2 additions and 2 deletions
|
@ -42,10 +42,10 @@
|
|||
@{TFTP_DIR}/ r,
|
||||
@{TFTP_DIR}/** r,
|
||||
|
||||
# libvirt lease and hosts files for dnsmasq
|
||||
# libvirt config, lease and hosts files for dnsmasq
|
||||
/var/lib/libvirt/dnsmasq/ r,
|
||||
/var/lib/libvirt/dnsmasq/* r,
|
||||
/var/lib/libvirt/dnsmasq/*.leases rw,
|
||||
/var/lib/libvirt/dnsmasq/*.hostsfile r,
|
||||
|
||||
# libvirt pid files for dnsmasq
|
||||
/{,var/}run/libvirt/network/ r,
|
||||
|
|
Loading…
Add table
Reference in a new issue