From b3d219b475c8f695ccfb8b741282583da710befa Mon Sep 17 00:00:00 2001 From: Antonio Alvarez Feijoo Date: Thu, 22 Dec 2022 15:19:49 +0100 Subject: [PATCH] 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. ``` --- modules.d/01systemd-timedated/module-setup.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/modules.d/01systemd-timedated/module-setup.sh b/modules.d/01systemd-timedated/module-setup.sh index 58a1ef04e6..5f85f2aeaf 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.