[Bug 2011628] [NEW] Apparmor Disallows Disabling Dhclient Scripts

Launchpad Bug Tracker 2011628 at bugs.launchpad.net
Wed Mar 15 00:24:57 UTC 2023


You have been subscribed to a public bug by Ubuntu Foundations Team Bug Bot (crichton):

In some cases, it may be desirable to disable dhclient scripts. By
default /sbin/dhclient-script is used, and some others are allowed by
the apparmor profile.

Without Apparmor, disabling hook scripts can be accomplished with flags
-sf /bin/true, but with apparmor enabled this gets blocked:

execve (/bin/true, ...): Permission denied

Unfortunately dhclient doesn't appear to provide any other mechanism for
disabling hook scripts.

** Affects: isc-dhcp (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: patch
-- 
Apparmor Disallows Disabling Dhclient Scripts
https://bugs.launchpad.net/bugs/2011628
You received this bug notification because you are a member of Ubuntu Sponsors Team, which is subscribed to the bug report.




More information about the Ubuntu-sponsors mailing list