apparmor: fix dnsmasq profile
This commit is contained in:
parent
2e9b574cfc
commit
fe9e9bd763
2 changed files with 14 additions and 1 deletions
13
srcpkgs/apparmor/patches/fix-dnsmasq-libvirt.patch
Normal file
13
srcpkgs/apparmor/patches/fix-dnsmasq-libvirt.patch
Normal file
|
@ -0,0 +1,13 @@
|
|||
diff --git a/profiles/apparmor.d/usr.sbin.dnsmasq b/profiles/apparmor.d/usr.sbin.dnsmasq
|
||||
index 7ae9a148..a32d24ca 100644
|
||||
--- a/profiles/apparmor.d/usr.sbin.dnsmasq
|
||||
+++ b/profiles/apparmor.d/usr.sbin.dnsmasq
|
||||
@@ -113,7 +113,7 @@ profile dnsmasq /usr/{bin,sbin}/dnsmasq flags=(attach_disconnected) {
|
||||
/etc/libnl-3/classid r,
|
||||
|
||||
/usr/lib{,64}/libvirt/libvirt_leaseshelper m,
|
||||
- /usr/libexec/libvirt_leaseshelper m,
|
||||
+ /usr/libexec/libvirt_leaseshelper mr,
|
||||
|
||||
owner @{PROC}/@{pid}/net/psched r,
|
||||
owner @{PROC}/@{pid}/status r,
|
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'apparmor'
|
||||
pkgname=apparmor
|
||||
version=3.0.1
|
||||
revision=3
|
||||
revision=4
|
||||
wrksrc="${pkgname}-v${version}"
|
||||
build_wrksrc=libraries/libapparmor
|
||||
build_style=gnu-configure
|
||||
|
|
Loading…
Reference in a new issue