mercredi 9 février 2011

d-bus dameon start up error "at boot before loging'

After configuring LDAP authentification via yast the system needs about 20
minutes to start the dbus-daemon on boot. I got a lot of ldap messages in
/var/log/messages like these:
Jan 12 12:01:44 w2 dbus-daemon: nss_ldap: failed to bind to LDAP server
ldaps:// Can't contact LDAP server
Jan 12 12:01:44 w2 dbus-daemon: nss_ldap: reconnecting to LDAP server (sleeping
8 seconds)...

Of course, because network is started after dbus, dbus can't connect to the
ldap server, and waits several times until the timeout is reached. 

Network has dbus as "required-start", so i can't change the startup order and
add $network to required-start in the dbus script.

My temporary solution is to replace the /etc/nsswitch.conf file with a one
without ldap access in /etc/init.d/boot.local and restoring the original one
after the network is up.

Reproducible: Always

Steps to Reproduce:
1. Configure LDAP Authentification via yast
2. reboot
Actual Results:  
Boot stops for about 20 minutes at "Starting D-Bus daemon", ldap errors in
/var/log/messages (see details)

Aucun commentaire:

Enregistrer un commentaire

Nombre total de pages vues