Apparmor Disallows Disabling Dhclient Scripts
Bug #2011628 reported by
Brett Holman
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
isc-dhcp (Debian) |
New
|
Unknown
|
|||
isc-dhcp (Ubuntu) |
Triaged
|
Medium
|
Unassigned |
Bug Description
In some cases, it may be desirable to disable dhclient scripts. By default /sbin/dhclient-
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.
Related branches
~holmanb/ubuntu/+source/isc-dhcp:ubuntu/devel
- Robie Basak: Needs Fixing
- Canonical Server Reporter: Pending requested
- Canonical Server Core Reviewers: Pending requested
- git-ubuntu import: Pending requested
-
Diff: 29 lines (+10/-0)2 files modifieddebian/apparmor/sbin.dhclient (+4/-0)
debian/changelog (+6/-0)
Changed in isc-dhcp (Debian): | |
status: | Unknown → New |
To post a comment you must log in.
Debdiff in the attached enables dhclient to execute dhclient with -sf /bin/true