mirror of
https://gitlab.com/apparmor/apparmor.git
synced 2025-03-04 16:35:02 +01:00
Fix the dnsmasq profile to allow executing bash to run the --dhcp-script
argument. Also fixed /usr/lib -> /usr/{lib,lib64} to get libvirt leasehelper script to run even on x86_64. References: https://bugzilla.opensuse.org/show_bug.cgi?id=911001 Patch by "Cédric Bosdonnat" <cbosdonnat@suse.com> Note: the original patch used {lib,lib64} - I changed it to lib{,64} to match the style we typically use. Acked-by: John Johansen <john.johansen@canonical.com> (backport of trunk r2841)
This commit is contained in:
parent
e8ffc1c4e8
commit
70cda06789
1 changed files with 3 additions and 1 deletions
|
@ -45,6 +45,8 @@
|
|||
|
||||
/var/lib/misc/dnsmasq.leases rw, # Required only for DHCP server usage
|
||||
|
||||
/bin/bash ix, # Required to execute --dhcp-script argument
|
||||
|
||||
# access to iface mtu needed for Router Advertisement messages in IPv6
|
||||
# Neighbor Discovery protocol (RFC 2461)
|
||||
@{PROC}/sys/net/ipv6/conf/*/mtu r,
|
||||
|
@ -64,7 +66,7 @@
|
|||
/{,var/}run/libvirt/network/*.pid rw,
|
||||
|
||||
# libvirt lease helper
|
||||
/usr/lib/libvirt/libvirt_leaseshelper ix,
|
||||
/usr/lib{,64}/libvirt/libvirt_leaseshelper ix,
|
||||
/{,var/}run/leaseshelper.pid rwk,
|
||||
|
||||
# NetworkManager integration
|
||||
|
|
Loading…
Add table
Reference in a new issue