← 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

 

Looking at the diff for that upload, it makes sense. The patch in
debian/patches/00list was added to the block that gets reverted halfway
through the build, so the change is applied, then reverted, resulting in
an identical binary package.

Unfortunately it looks like the sponsor didn't see the comment 2 lines
above the change in 00list or didn't understand the implication of that
comment. Anyway, I'd appreciate if an SRU team member could remove this
package as it clearly doesn't fix anything.

I pushed an SRU to 12.10 a few days ago which is the first step before
pushing a similar one to 12.04 in the near future, so this bug should
probably be part of that update.

-- 
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