Fernando de Oliveira wrote:

> # /etc/rc.d/init.d/dbus
> Usage: /etc/rc.d/init.d/dbus {start|stop|restart|status}
>
> # /etc/rc.d/init.d/dbus status
> dbus-daemon is running with Process ID(s) 1995 1713.

Good point Fernando.  I have:

$ sudo /etc/rc.d/init.d/dbus status
dbus-daemon is running with Process ID(s) 21615 4342.

but

$ cat /run/dbus/pid
21402

I think I need to add a command to the dbuse start procedure.  What we 
have now is:

mkdir -p /run/dbus
/usr/bin/dbus-uuidgen --ensure
start_daemon /usr/bin/dbus-daemon --system

But probably need to do something like:

mkdir -p /run/dbus
rm /run/dbus/*
/usr/bin/dbus-uuidgen --ensure
start_daemon /usr/bin/dbus-daemon --system

A little more may be to needed to check that the daemon is not already 
running.  That's done now in start_daemon, but to remove the old entries 
in /run/dbus, we need to check for a running process before that.

   -- Bruce
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to