summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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
}