Your message dated Wed, 7 Aug 2024 11:13:08 +0200
with message-id <[email protected]>
and subject line Re: Bug#1078126: Unable to run «timedatectl» (missing d-bus
dependency?)
has caused the Debian Bug report #1078126,
regarding Unable to run «timedatectl» (missing d-bus dependency?)
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
1078126: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1078126
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: systemd-timesyncd
Version: 252.26-1~deb12u2
Severity: normal
Hello,
After installing «systemd-timesyncd», when I run timedatectl (either as root or
plain user) I get an error and command is not run:
root@noc11:~# timedatectl status
Failed to connect to bus: No such file or directory
This is a barebone/headless server (no X, no UI), maybe a missing
dependency (d-bus?) that is not pulled to be installed but should be.
root@noc11:~# dpkg -l | grep -e dbus -e systemd
ii libdbus-1-3:amd64 1.14.10-1~deb12u1 amd64
simple interprocess messaging system (library)
ii libsystemd-shared:amd64 252.26-1~deb12u2 amd64
systemd shared private library
ii libsystemd0:amd64 252.26-1~deb12u2 amd64
systemd utility library
ii systemd 252.26-1~deb12u2 amd64
system and service manager
ii systemd-sysv 252.26-1~deb12u2 amd64
system and service manager - SysV compatibility symlinks
ii systemd-timesyncd 252.26-1~deb12u2 amd64
minimalistic service to synchronize local time with NTP servers
Greetings,
--
Camaleón
--- End Message ---
--- Begin Message ---
* Camaleón [Wed Aug 07, 2024 at 10:57:52AM +0200]:
> After installing «systemd-timesyncd», when I run timedatectl (either as root
> or
> plain user) I get an error and command is not run:
>
> root@noc11:~# timedatectl status
> Failed to connect to bus: No such file or directory
>
> This is a barebone/headless server (no X, no UI), maybe a missing
> dependency (d-bus?) that is not pulled to be installed but should be.
>
> root@noc11:~# dpkg -l | grep -e dbus -e systemd
> ii libdbus-1-3:amd64 1.14.10-1~deb12u1 amd64
> simple interprocess messaging system (library)
> ii libsystemd-shared:amd64 252.26-1~deb12u2 amd64
> systemd shared private library
> ii libsystemd0:amd64 252.26-1~deb12u2 amd64
> systemd utility library
> ii systemd 252.26-1~deb12u2 amd64
> system and service manager
> ii systemd-sysv 252.26-1~deb12u2 amd64
> system and service manager - SysV compatibility symlinks
> ii systemd-timesyncd 252.26-1~deb12u2 amd64
> minimalistic service to synchronize local time with NTP servers
systemd-timesyncd depends on systemd, which further has dbus in
recommends via:
Recommends: default-dbus-system-bus | dbus-system-bus, systemd-timesyncd |
time-daemon
So it looks like you have recommends disabled on your system.
If you're doing this you're leaving the defaults and need
to handle this on your own, also see
https://www.debian.org/doc/debian-policy/ch-relationships.html#binary-dependencies-depends-recommends-suggests-enhances-pre-depends
(Closing the bug report, as it's not a bug in systemd / systemd-timesyncd.)
regards
-mika-
signature.asc
Description: PGP signature
--- End Message ---