Skip to content

Commit b3d219b

Browse files
aafeijoo-susejohannbg
authored andcommitted
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. ```
1 parent 4fca292 commit b3d219b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

modules.d/01systemd-timedated/module-setup.sh

+1
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ install() {
3434
"$dbussystemservices"/org.freedesktop.timedate1.service \
3535
"$systemdutildir"/systemd-timedated \
3636
"$systemdsystemunitdir"/systemd-timedated.service \
37+
"$systemdsystemunitdir"/dbus-org.freedesktop.timedate1.service \
3738
timedatectl
3839

3940
# Install the hosts local user configurations if enabled.

0 commit comments

Comments
 (0)