4
# AppArmor currently does not allow us to access the system D-BUS from an
5
# unshared file system. Hack the policy to allow that until that gets fixed
6
# properly. See https://launchpad.net/bugs/1244157
10
sed '/nm-dhcp-client.action {/ s/{/flags=(attach_disconnected) {/' \
11
/etc/apparmor.d/sbin.dhclient > "$ADTTMP/sbin.dhclient"
12
apparmor_parser -Kr "$ADTTMP/sbin.dhclient"