]> code.ossystems Code Review - openembedded-core.git/commit
dbus: Fix pid file in dbus init script
authorAndy Ross <andy.ross@windriver.com>
Fri, 10 Aug 2012 19:00:41 +0000 (12:00 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 15 Aug 2012 13:25:50 +0000 (14:25 +0100)
commit23cfbff5611c2ed52eedfaa99b1d6eccd326f035
tree33c03e327b2b6d90a1281274336b437934ed92e3
parent9bc0ca9369d0daee94abf60d3d521cc734c7e8cd
dbus: Fix pid file in dbus init script

The PIDFILE (/var/run/dbus/pid) referenced by /etc/init.d/dbus-1 did
not match the path (/var/run/messagebus.pid) configured in
/etc/dbus-1/system.conf, so the initscript could start the daemon, but
not stop it.  Also remove needless directory ownership logic
(dbus-daemon drops its pid file as root before calling setuid).

Signed-off-by: Andy Ross <andy.ross@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
meta/recipes-core/dbus/dbus-1.4.20/dbus-1.init
meta/recipes-core/dbus/dbus-1.5.12/dbus-1.init