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:26:41 +0000 (14:26 +0100)
commitdce67d7e519a0d3831cd5c231f598c5df3811e35
tree1489db95e9ded61c955ac3ff719bf512e625d299
parent46e8d645d9026456dbebac71dd258e1ce122468d
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).

(From OE-Core rev: 23cfbff5611c2ed52eedfaa99b1d6eccd326f035)

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