Hi,
I think that I know why some people still see this bug and have reopened
it.
The fix implemented by Stephen (thanks BTW!) is documented
in /var/lib/dpkg/info/libnss-ldap.postinst :
# The /var/lib/libnss-ldap directory is used for one purpose:
# to provide a place to store the 'bind_policy_soft' flag file
# which is created on system shutdown and removed once the system
# has restarted. The existance of this file changes the bind_policy
# to 'soft', which means that NSS lookups fail immediately when no
# LDAP server is available. This is sensible during the boot process
# since networking might not be available.
chmod 755 /var/lib/libnss-ldap
# Automatically added by dh_installinit
if [ -x "/etc/init.d/libnss-ldap" ]; then
update-rc.d libnss-ldap defaults 99 01 >/dev/null
if [ -x "`which invoke-rc.d 2>/dev/null`" ]; then
invoke-rc.d libnss-ldap start || exit $?
else
/etc/init.d/libnss-ldap start || exit $?
fi
fi
# End automatically added section
This assumes that the system has been cleanly halted. If not
the /var/lib/libnss-ldap/bind_policy_soft file is not created and the
next boot fails.
Why not do the following instead?
- create the bind_policy_soft file on boot before the udev start
- remove it after the network has been started
--
Laurent Bonnaud.
http://www.lis.inpg.fr/pages_perso/bonnaud/
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]