[Bug 2011628] Re: Apparmor Disallows Disabling Dhclient Scripts

Robie Basak 2011628 at bugs.launchpad.net
Tue Mar 28 13:12:41 UTC 2023


** Bug watch added: Debian Bug tracker #1033597
   https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1033597

** Also affects: isc-dhcp (Debian) via
   https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1033597
   Importance: Unknown
       Status: Unknown

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to isc-dhcp in Ubuntu.
https://bugs.launchpad.net/bugs/2011628

Title:
  Apparmor Disallows Disabling Dhclient Scripts

Status in isc-dhcp package in Ubuntu:
  Triaged
Status in isc-dhcp package in Debian:
  Unknown

Bug description:
  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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/isc-dhcp/+bug/2011628/+subscriptions




More information about the foundations-bugs mailing list