Skip to content

Commit

Permalink
fix(systemd-timedated): add missing dbus-org.freedesktop.timedate1.se…
Browse files Browse the repository at this point in the history
…rvice

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.
```
  • Loading branch information
aafeijoo-suse authored and johannbg committed Dec 24, 2022
1 parent 4fca292 commit b3d219b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions modules.d/01systemd-timedated/module-setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit b3d219b

Please sign in to comment.