[Bug 155947] Re: ldap config causes Ubuntu to hang at login
Jamie Strandboge
jamie at ubuntu.com
Mon Apr 21 20:45:10 BST 2008
STATUS UPDATE:
The ubuntu package does include 00boot_delays_h.patch which is the Debian patch for this issue. This seems to work for udev, but not for functions that call libc's initgroups(), which by definition will try to get all the groups a member belongs to, and if /etc/nsswitch.conf contains 'ldap' for the groups database, libc checks ldap. start-stop-daemon is one such application.
libnss-ldap does provide for 'nss_initgroups_ignoreusers', which allows for nss to skip ldap in intigroups() for the specified groups. So, to confirm that this was the problem, I added to /etc/ldap.conf:
nss_initgroups_ignoreusers klog
I then rebooted and the boot proceeded past klogd, and then hung at
crond. Currently thinking about a solution.
** Summary changed:
- ldap config causes Ubuntu to hang at login
+ libnss-ldap: calls to initgroups() causes boot to hang when using 'bind_policy hard'
--
libnss-ldap: calls to initgroups() causes boot to hang when using 'bind_policy hard'
https://bugs.launchpad.net/bugs/155947
You received this bug notification because you are a member of Ubuntu
Server Team, which is a subscriber of a duplicate bug.
More information about the Ubuntu-server-bugs
mailing list