Bug#379164: [Pkg-utopia-maintainers] Bug#379164: dbus: fails to start on boot

Scott Anderson ee_in_co at yahoo.com
Tue Aug 8 21:29:16 UTC 2006


--- Sjoerd Simons <sjoerd at spring.luon.net> wrote:

> On Fri, Jul 21, 2006 at 01:16:00PM -0700, Scott Anderson wrote:
> > Subject: dbus: fails to start on boot
> > Package: dbus
> > Version: 0.62-4
> > Severity: important
> > 
> > *** Please type your report below this line ***
> > 
> > When booting, I get the following error in my /var/log/syslog:
> > 
> > Jul 21 11:28:45 me dhcdbd: dbus_svc_init failed: org.freedesktop.DBus.Error.NoServer Failed to
> connect to socket /var/run/dbus/system_bus_socket: Connection refused
> > Jul 21 11:28:45 me dhcdbd: Failed to initialise D-Bus service.
> > Jul 21 11:28:45 me NetworkManager: <information>^Istarting...
> > Jul 21 11:28:45 me NetworkManager: <WARNING>^I nm_dbus_init (): nm_dbus_init() could not get
> the system bus.  Make sure the message bus daemon is running!
> > Jul 21 11:28:45 me NetworkManager: <ERROR>^I[1153502925.787542] main (): nm_dbus_init()
> failed, exiting. Either dbus is not running, or the NetworkManager dbus security policy was not
> loaded
> > Jul 21 11:28:45 me NetworkManager: traceback:
> > Jul 21 11:28:45 me NetworkManager: ^I/usr/sbin/NetworkManager(main+0x47e) [0x8067dde]
> > Jul 21 11:28:45 me NetworkManager: ^I/lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xd0)
> [0xa7c38eb0]
> > Jul 21 11:28:45 me NetworkManager: ^I/usr/sbin/NetworkManager [0x8053031]
> > 
> > Here's some other debug detail:
> > 
> > > ll /var/run/dbus/
> > total 4
> > -rw-r--r-- 1 root root 5 Jul 21 11:28 pid
> > srwxrwxrwx 1 root root 0 Jul 21 11:28 system_bus_socket=
> > 
> > The socket seems to be there...
> > 
> > > psg dbus
> > me  5904  5817  0 11:29 ?        00:00:00 /usr/bin/ssh-agent /usr/bin/ssh-agent
> /usr/bin/dbus-launch --exit-with-session x-session-manager
> > me  5905  5817  0 11:29 ?        00:00:00 /usr/bin/ssh-agent /usr/bin/dbus-launch
> --exit-with-session x-session-manager
> > me  5908     1  0 11:29 ?        00:00:00 /usr/bin/dbus-launch --exit-with-session
> x-session-manager
> > me  5909     1  0 11:29 ?        00:00:00 dbus-daemon --fork --print-pid 8 --print-address 6
> --session
> > me  6684  6418  0 11:59 pts/2    00:00:00 /usr/bin/python2.3 -S /usr/bin/reportbug dbus
> > 
> > I don't see any dbus-daemon --system.  It should be there, right?
> 
> Yeah that should be there. Can you run dbus-daemon --nofork --system manually
> (you need to delete the pid file in /var/run/dbus/ first) and see what happens
> then (does it stay running?)
> 

I've done that, and there is no problem running it manually.  I was able to get my boot logging
enabled again, and it exposed a query to the LDAP server.

So if I remove the ldap from my /etc/nsswitch.conf file, then dbus starts fine.  If ldap enabled
in the /etc/nsswitch.conf file, then dbus somehow crashes during boot, but not on a restart.

What I can't understand is why there is a query to my LDAP server in the first place.  What would
it be searching for?  The messagebus user is in my /etc/passwd file.  So as far as I understand,
the search should hit my /etc/passwd file and find messagebus and return.

Here's the contents of my /etc/nsswitch.conf file:

# /etc/nsswitch.conf
#
# Example configuration of GNU Name Service Switch functionality.
# If you have the `glibc-doc' and `info' packages installed, try:
# `info libc "Name Service Switch"' for information about this file.

passwd:         files ldap
group:          files ldap
shadow:         files ldap

hosts:          files dns
networks:       files

protocols:      db files
services:       db files
ethers:         db files
rpc:            db files

netgroup:       nis

--------------------------------------

Any help you can give is greatly appreciated!

Scott

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 




More information about the Pkg-utopia-maintainers mailing list