Re: udev vs ldap at startup
[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
attention.
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.
Friendly,
--
Petter Reinholdtsen
Reply to: