summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHavoc Pennington <hp@redhat.com>2003-04-11 20:20:05 +0000
committerHavoc Pennington <hp@redhat.com>2003-04-11 20:20:05 +0000
commita7ca4d94dc7f9c0ac7d9d43f08bf2ef2e1123e3a (patch)
tree17b6dc3a0401a59a0486455136b02dd72b0de2f2
parentfff4709be676718a54e280fd3b4ac4b742554982 (diff)
2003-04-11 Havoc Pennington <hp@redhat.com>
* bus/messagebus.in: remove pid file when stopping the message bus, since the bus won't have privileges to remove it itself.
-rw-r--r--ChangeLog6
-rwxr-xr-xbus/messagebus.in1
2 files changed, 7 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index c608f29a..8cd6ddaa 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
2003-04-11 Havoc Pennington <hp@redhat.com>
+ * bus/messagebus.in: remove pid file when stopping the
+ message bus, since the bus won't have privileges to remove it
+ itself.
+
+2003-04-11 Havoc Pennington <hp@redhat.com>
+
* bus/bus.c (bus_context_new): move credentials change after
creating pidfile
diff --git a/bus/messagebus.in b/bus/messagebus.in
index 45388a5e..e4a16967 100755
--- a/bus/messagebus.in
+++ b/bus/messagebus.in
@@ -37,6 +37,7 @@ stop() {
echo
if [ $RETVAL -eq 0 ]; then
rm -f @EXPANDED_LOCALSTATEDIR@/lock/subsys/messagebus
+ rm -f @DBUS_SYSTEM_PID_FILE@
fi
}