[Hampshire] Caveat: Ubuntu Edgy and nss-ldap

Top Page

Reply to this message
Author: Nick Chalk
Date:  
To: hampshire
Subject: [Hampshire] Caveat: Ubuntu Edgy and nss-ldap
For the benefit of others who might try this,
here's a little problem I hit today...

The scenario: Four new Ubuntu Edgy boxes on
Jamie's Learning Zone network, intended to
supplement the existing XP machines. I was setting
them up to fetch account details from the central
LDAP server, and NFS-mount /home.

Everything was working fine, nss-ldap and pam-ldap
configured, /home mounted, no problems. Then I
rebooted...

udevd started complaining that it couldn't see the
LDAP server. Even booting into single user, it
took several tens of minutes to get a root prompt.

The problem? Edgy's boot sequence starts udevd
before loading modules or configuring the network.
The default order in /etc/rcS.d is...

...
S10udevd
...
S15module-init-tools
...
S40networking
...

udevd tries to use nss, but can't contact the LDAP
server because the network isn't up.

A working arrangement, assuming a network driver
needs to be loaded, is...

...
S09module-init-tools
S10networking
S11udev
...


All of which meant that getting these four
machines working took a /little/ longer than
planned. :-/

Nick.

--
Nick Chalk ................. once a Radio Designer
Confidence is failing to understand the problem.