Red Hat Bugzilla – Bug 133604
init scripts can't find dbus pid file
Last modified: 2013-03-13 00:46:32 EDT
From Bugzilla Helper:
User-Agent: Opera/7.52 (X11; Linux i686; U) [en]
Description of problem:
Dbus places it's pid in the file file /var/run/dbus/pid but the
initscripts functions (invoked by dbus's own init.d script) expect to
find it in /var/run/messagebus
Suggestion that worked for me:
add --system-wide-pid-file=/var/run/messagebus.pid to configure
options in spec file.
With this change, /var/run/messagebus.pid is recognised as the pid
file, and is cleaned up after the service is stopped (something that
dbus doesn't seem to do itself)
Version-Release number of selected component (if applicable):
Steps to Reproduce:
Actual Results: [FAILED]
Expected Results: [ OK ]
Works for me. Dbus always created /var/run/messagebus.pid on my
machine. Did you upgrade to test 2 or is it a fresh install. If you
did upgrade, from what version?
I think this is a duplicate of: Bug 132436 - which is now closed.
The real problem is that configure does not see the
/etc/redhat-release file and decides its not a red hat system. Rather
than have a system-wide-pid-file=/var/run/messagebus.pid option, it
needs to have an option to say this is a red hat system that sets the
default value for the same variable set when it looks for the
There may be other decisions the configure script makes based on the
os variable. Fixing each one with an override is inefficient.
Nick Jones hasn't replyed back so closing this as works for me.