Skip to content
Snippets Groups Projects
Commit 9669b700 authored by Hoang Nguyen's avatar Hoang Nguyen :turtle: Committed by Leo
Browse files

community/apparmor: fix dnsmasq profile

parent cfa9b3b7
No related branches found
No related tags found
No related merge requests found
......@@ -2,7 +2,7 @@
# Maintainer: Allan Garret <allan.garret@gmail.com>
pkgname=apparmor
pkgver=3.0.3
pkgrel=1
pkgrel=2
pkgdesc="Linux application security framework - mandatory access control for programs"
url="https://gitlab.com/apparmor/apparmor/wikis/home"
# mips64 blocked by py3-notify2
......@@ -47,6 +47,7 @@ source="
0007-Remove-Locale-gettext-from-parser-tests.patch
python-3.10.patch
python-3.10-test-aa-notify.patch
fix-dnsmasq-profile.patch
"
builddir="$srcdir/$pkgname-v$pkgver"
......@@ -238,4 +239,5 @@ ebe2494e0023d45a41623038f8126fd5366606507d7c1caadf776253a5a64e2979ed157b00d22405
093c2f216776c5cc67294a134af6ef788dd5a82477592093abbdd244d65591006890a7c911d4f72d7c0ceac5d3ee33927b055a6d3731284701057b35372e7265 0007-Remove-Locale-gettext-from-parser-tests.patch
fa188f7b794c62f285fe5e6c3b390acbab7838421374631e9a295a4806c0a1ff12724ba77bf18056eeea0d4d0666fbc4c264315ba9c0cddfbf2701a272a69b24 python-3.10.patch
0992d34da1e656ecabc6548d59e3615d68de6d748faa7a7c4d92f6a883e4abd3642ccf573851b4e3397e89d8c5da51e3febdb7065e1b5c42535a16a3c37763cb python-3.10-test-aa-notify.patch
cbe6eb9dd46e3ace122d5bc386596d5106a301b82a9ac1681f31a967013d3db67a8d674d54605444f30c3a136677ff3b26fad80f78d0f02dbe18a9f10f64672a fix-dnsmasq-profile.patch
"
diff --git a/profiles/apparmor.d/usr.sbin.dnsmasq b/profiles/apparmor.d/usr.sbin.dnsmasq
index 7ae9a14..0005b14 100644
--- a/profiles/apparmor.d/usr.sbin.dnsmasq
+++ b/profiles/apparmor.d/usr.sbin.dnsmasq
@@ -66,6 +66,7 @@ profile dnsmasq /usr/{bin,sbin}/dnsmasq flags=(attach_disconnected) {
/var/lib/misc/dnsmasq.leases rw, # Required only for DHCP server usage
/{,usr/}bin/{ba,da,}sh ix, # Required to execute --dhcp-script argument
+ /bin/busybox ix, # /bin/sh is a symlink of busybox on Alpine
# access to iface mtu needed for Router Advertisement messages in IPv6
# Neighbor Discovery protocol (RFC 2461)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment