summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn (J5) Palmieri <johnp@redhat.com>2006-10-19 15:34:47 +0000
committerJohn (J5) Palmieri <johnp@redhat.com>2006-10-19 15:34:47 +0000
commiteb357c5ff9a36bafe608707a7df933fe228d2ba6 (patch)
tree0ae1c9b828ca4ca7ceb05b852092cf6e360cbe83
parentfa381508657174a164915cc738470832a06ff074 (diff)
* bus/messagebus.in, bus/rc.messagebus.in: run dbus-uuidgen --ensure
when starting the system bus
-rw-r--r--ChangeLog5
-rwxr-xr-xbus/messagebus.in4
-rw-r--r--bus/rc.messagebus.in4
3 files changed, 13 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 2751c177..6fd64702 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2006-10-19 John (J5) Palmieri <johnp@redhat.com>
+
+ * bus/messagebus.in, bus/rc.messagebus.in: run dbus-uuidgen --ensure
+ when starting the system bus
+
2006-10-18 John (J5) Palmieri <johnp@redhat.com>
* configure.in: More fixups for cross compile (Patch from
diff --git a/bus/messagebus.in b/bus/messagebus.in
index 55fef0fb..92a2c7df 100755
--- a/bus/messagebus.in
+++ b/bus/messagebus.in
@@ -24,6 +24,10 @@ RETVAL=0
start() {
echo -n $"Starting system message bus: "
+ if [ -x @EXPANDED_BINDIR@/dbus-uuidgen ] ; then
+ @EXPANDED_BINDIR@/dbus-uuidgen --ensure
+ fi
+
daemon --check $servicename $processname --system
RETVAL=$?
echo
diff --git a/bus/rc.messagebus.in b/bus/rc.messagebus.in
index 46a3076d..b147503d 100644
--- a/bus/rc.messagebus.in
+++ b/bus/rc.messagebus.in
@@ -24,6 +24,10 @@
start() {
echo "Starting system message bus"
+ if [ -x @EXPANDED_BINDIR@/dbus-uuidgen ] ; then
+ @EXPANDED_BINDIR@/dbus-uuidgen --ensure
+ fi
+
if [ -x @EXPANDED_BINDIR@/dbus-daemon ];then
@EXPANDED_BINDIR@/dbus-daemon --system
fi