Hi everyone,

Could just be me, but it seems like the current D-BUS bootscript has
an error with D-BUS-0.50.  In the bootscript, the stop target calls to
remove the file dbus.pid:
        stop)
                boot_mesg "Stopping the D-Bus Messagebus Daemon..."
                killproc /usr/bin/dbus-daemon
                rm /var/run/dbus/dbus.pid
                rm /var/run/dbus/system_bus_socket

But, at least for me, DBUS-0.50 by default uses the file /var/run/dbus/pid.
[06:07 PM [EMAIL PROTECTED] ls -l /var/run/dbus
total 4
-rw-r--r--  1 root root 5 2005-10-21 16:25 pid

So the bootscript always fails on stop.  Anyway, the fix is trivial
either in the bootscript or in /etc/dbus/system.conf.  Or, you can
pass --with-system-pid-file=pidfile to the D-BUS build.

Here's what configure looks like:
#### Set up the pid file
if ! test -z "$with_system_pid_file"; then
   DBUS_SYSTEM_PID_FILE=$with_system_pid_file
elif test x$operating_system = xredhat ; then
   DBUS_SYSTEM_PID_FILE=${EXPANDED_LOCALSTATEDIR}/run/messagebus.pid
else
   DBUS_SYSTEM_PID_FILE=${EXPANDED_LOCALSTATEDIR}/run/dbus/pid
fi

Does anyone else see this behavior?  Should I open a bug?

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

Reply via email to