From: Antonio Alvarez Feijoo Date: Thu, 22 Dec 2022 14:19:49 +0000 (+0100) Subject: fix(systemd-timedated): add missing dbus-org.freedesktop.timedate1.service X-Git-Tag: 058~1 X-Git-Url: http://git.ipfire.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=b3d219b475c8f695ccfb8b741282583da710befa;p=thirdparty%2Fdracut.git fix(systemd-timedated): add missing dbus-org.freedesktop.timedate1.service Without this service, timedatectl fails to run in the initrd. ``` sh-5.2# timedatectl Failed to query server: Could not activate remote peer: activation request failed: unknown unit. sh-5.2# systemctl status dbus | grep timedate Dec 22 13:57:03 sd-net-test dbus-broker-launch[219]: Activation request for 'org.freedesktop.timedate1' failed: The systemd unit 'dbus-org.freedesktop.timedate1.service' could not be found. ``` --- diff --git a/modules.d/01systemd-timedated/module-setup.sh b/modules.d/01systemd-timedated/module-setup.sh index 58a1ef04e..5f85f2aea 100755 --- a/modules.d/01systemd-timedated/module-setup.sh +++ b/modules.d/01systemd-timedated/module-setup.sh @@ -34,6 +34,7 @@ install() { "$dbussystemservices"/org.freedesktop.timedate1.service \ "$systemdutildir"/systemd-timedated \ "$systemdsystemunitdir"/systemd-timedated.service \ + "$systemdsystemunitdir"/dbus-org.freedesktop.timedate1.service \ timedatectl # Install the hosts local user configurations if enabled.