[Bug 2011628] Re: Apparmor Disallows Disabling Dhclient Scripts

Robie Basak 2011628 at bugs.launchpad.net
Fri Mar 24 12:24:37 UTC 2023


I wondered if this needed an FFe, but then I considered that we're
fixing an Apparmor profile to do what the command would allow anyway,
and I think that fixing Apparmor profiles is not something that
generally would violate feature freeze. So I'm not bothering the release
team with this one and am instead documenting why :-)

** Merge proposal linked:
   https://code.launchpad.net/~holmanb/ubuntu/+source/isc-dhcp/+git/isc-dhcp/+merge/439186

** Changed in: isc-dhcp (Ubuntu)
       Status: New => Triaged

** Changed in: isc-dhcp (Ubuntu)
   Importance: Undecided => Medium

-- 
You received this bug notification because you are a member of Ubuntu
Sponsors Team, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/2011628

Title:
  Apparmor Disallows Disabling Dhclient Scripts

Status in isc-dhcp package in Ubuntu:
  Triaged

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 Ubuntu-sponsors mailing list