summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2012-02-02 02:11:11 +0100
committerSimon McVittie <simon.mcvittie@collabora.co.uk>2012-02-07 16:40:36 +0000
commit5a548fbf641bbd93d28009281c97e3e1aab1adad (patch)
tree13cf35d21d5c899436a81d083bd7653ef2617e13
parent3d29eaaf894722ca66867a323bba10d07bf9f619 (diff)
systemd: drop machine UUID generation for unit file
To optimize startup a bit, drop machine UUID generation from the unit file. Since a while D-Bus was already capable of making use of the /etc/machine-id file, which is guaranteed to exist on systemd systems (since the first released versions already), hence there's no need to ever generate a D-Bus specific machine ID. In times where userspace takes < 800ms to boot up getting rid of this process optimizes boot time further. Bug: https://bugs.freedesktop.org/show_bug.cgi?id=45520 Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
-rw-r--r--bus/dbus.service.in1
1 files changed, 0 insertions, 1 deletions
diff --git a/bus/dbus.service.in b/bus/dbus.service.in
index 8b87a58e..8ab067f6 100644
--- a/bus/dbus.service.in
+++ b/bus/dbus.service.in
@@ -4,7 +4,6 @@ Requires=dbus.socket
After=syslog.target
[Service]
-ExecStartPre=@EXPANDED_BINDIR@/dbus-uuidgen --ensure
ExecStartPre=-/bin/rm -f @DBUS_SYSTEM_PID_FILE@
ExecStart=@EXPANDED_BINDIR@/dbus-daemon --system --address=systemd: --nofork --systemd-activation
ExecReload=@EXPANDED_BINDIR@/dbus-send --print-reply --system --type=method_call --dest=org.freedesktop.DBus / org.freedesktop.DBus.ReloadConfig