aboutsummaryrefslogtreecommitdiffstats
path: root/main/apparmor/fix-dnsmasq-profile.patch
blob: 9a92065702ad015f9db71873dd454a929c35d427 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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)