From 38103b2165d5ef7cb6d7742c11f8ad778dda67f4 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Thu, 2 Feb 2012 02:11:11 +0100 Subject: [PATCH 1/2] 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. --- bus/dbus.service.in | 1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/bus/dbus.service.in b/bus/dbus.service.in index 8b87a58..8ab067f 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 -- 1.7.7.4