[Bug 1057358] [NEW] dhcpd in isc-dhcp-server-ldap cannot read /etc/ldap/ldap.conf due to missing entry in apparmor profile

Launchpad Bug Tracker 1057358 at bugs.launchpad.net
Fri Feb 1 18:08:27 UTC 2013


You have been subscribed to a public bug by Chris J Arges (arges):

[Impact]

 * dhcpd will not start if isc-dhcp-server-ldap is enabled.

[Test Case]

 * Install isc-dhcp-server package and configure
 * service isc-dhcp-server start *(it should start)
 * Install dhcp-ldap package, and configure (even with fake data)
 * Try to restart dhcpd
 * dhcpd fails to start

[Regression Potential]

 * Minimal

[Other Info]
 
 * Fix is to add to " /etc/ldap/ldap.conf r" to 
   /etc/apparmor.d/usr.sbin.dhcp


The dhcpd binary in the isc-dhcp-server-ldap package tries and fails to read ldap client configuration from /etc/ldap/ldap.conf due to a missing entry for this file in its apparmor profile. Adding the following line to /etc/apparmor.d/local/usr.sbin.dhcpd works for me, this should already be present in /etc/apparmor.d/usr.sbin.dhcpd

/etc/ldap/ldap.conf r,

Release: Ubuntu 12.04.1 LTS Precise Pangolin
Package: isc-dhcp-server-ldap
Version: 4.1.ESV-R4-0ubuntu5
Arch: i386

** Affects: isc-dhcp (Ubuntu)
     Importance: Medium
     Assignee: Stéphane Graber (stgraber)
         Status: Fix Released

** Affects: isc-dhcp (Ubuntu Precise)
     Importance: Medium
     Assignee: Stéphane Graber (stgraber)
         Status: Triaged

** Affects: isc-dhcp (Ubuntu Quantal)
     Importance: Medium
     Assignee: Stéphane Graber (stgraber)
         Status: Fix Released


** Tags: apparmor
-- 
dhcpd in isc-dhcp-server-ldap cannot read /etc/ldap/ldap.conf due to missing entry in apparmor profile
https://bugs.launchpad.net/bugs/1057358
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