Re: udev vs ldap at startup
On Wed, Aug 09, 2006 at 03:01:05PM +0200, Petter Reinholdtsen wrote:
> [Brian May]
> > I found my debian/testing computer was hanging on startup. udev was
> > trying to contact LDAP (via NSS), but LDAP wasn't configured yet.
> I recently discovered the same problem with debian-edu. We install an
> ldap server on the same machine using libnss-ldap, and the boot just
> hang. I found bug #375077 on this. Thank you for bringing it to my
> I had to boot using the 'emergency' boot parameter to be able to edit
> nsswitch.conf to get the machine running enough for me to debug this.
> I guess programs started very early in the boot process must only look
> up users and groups present in /etc/passwd and /etc/group, and
> libnss-ldap should be configured to not try so long before it give up.
> I'm not sure what changed, but libnss-ldap with openldap on the same
> machine work just fine both in woody and sarge.
libnss-ldap has a new, retarded upstream default where it polls the server
several times in the case of a connection refused error instead of just
returning a notfound to the caller.
Steve Langasek Give me a lever long enough and a Free OS
Debian Developer to set it on, and I can move the world.