← Back to team overview

aims team mailing list archive

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

 

This didn't work in my testing.  Confirmed by downloading the deb
package from the above link and saw no changes to the apparmor file.

** Tags removed: verification-needed
** Tags added: verification-failed

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

Title:
  dhcpd in isc-dhcp-server-ldap cannot read /etc/ldap/ldap.conf due to
  missing entry in apparmor profile

Status in “isc-dhcp” package in Ubuntu:
  Fix Released
Status in “isc-dhcp” source package in Precise:
  Fix Committed
Status in “isc-dhcp” source package in Quantal:
  Fix Released

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

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