Recap: Networking problems with LDAP?

Oliver Falk oliver at linux-kernel.at
Mon Aug 6 08:06:36 UTC 2007


On 08/06/2007 12:21 AM, Kelly wrote:
> I just want to re-mention this problem, because I saw it again yesterday and I 
> think it's rather important to look into...
> 
> Fedora 7 doesn't use network anymore; instead, it uses NetworkManager to 
> create network connections at startup.  That's fine, except for one thing; 
> NetworkManager needs DBus to be running to start, and DBus won't start unless 
> the system can get all the logins at that point.  There's no problem if all 
> logins are local, but if they aren't (using LDAP or ActiveDirectory or 
> something like that), then the DBus startup script hangs, then crashes out, 
> which is no good. 
> 
> I tried moving NetworkManager up, but as I mentioned before, it requires DBus 
> to already be running.  That means that the system has to run the network 
> init script if the system is using network logins, just so DBus can get the 
> list of logins at startup.  The problem completely disappeared when I 
> reactivated the normal network init script.

[oliver at pils etc]$ grep dbus /etc/passwd; grep dbus ldap.conf
dbus:x:81:81:System message bus:/:/sbin/nologin
nss_initgroups_ignoreusers root,ldap,named,avahi,haldaemon,dbus

I don't know if I added dbus myself or not, but this setup usually works.

-of




More information about the devel mailing list