- Версия пакета: systemd-timesyncd-255.18-alt1.x86_64 - Шаги воспроизведения: # systemctl disable --now ntpd.service chronyd.service # apt-get install systemd-timesyncd # systemctl start systemd-timesyncd; systemctl status systemd-timesyncd # timedatectl set-ntp true # timedatectl show-timesync - Получаемый результат: Failed to parse bus message: Нет такого файла или каталога В логах journal такие сообщения: dbus-daemon[791]: [system] Activating via systemd: service name='org.freedesktop.timesync1' unit='dbus-org.freedesktop.timesync1.service' requested by ':1.44' (uid=0 pid=2655 comm="timedatectl show-timesync") dbus-daemon[791]: [system] Activation via systemd failed for unit 'dbus-org.freedesktop.timesync1.service': Unit dbus-org.freedesktop.timesync1.service not found.
А если сделать? systemctl enable systemd-timesyncd
(Ответ для Alexey Shabalin на комментарий #1) > А если сделать? > systemctl enable systemd-timesyncd Помогло: # systemctl enable systemd-timesyncd Created symlink '/etc/systemd/system/dbus-org.freedesktop.timesync1.service' → '/usr/lib/systemd/system/systemd-timesyncd.service'. Created symlink '/etc/systemd/system/sysinit.target.wants/systemd-timesyncd.service' → '/usr/lib/systemd/system/systemd-timesyncd.service'. # timedatectl show-timesync RootDistanceMaxUSec=5s .... Но заметил следующее: 1. Сразу после установки пакета systemd-timesyncd (не запуская): # systemctl is-enabled systemd-timesyncd enabled 2. После запуска сервиса systemd-timesyncd становится: # systemctl is-enabled systemd-timesyncd disabled
systemd-1:260.4-alt2 -> sisyphus: Mon Aug 10 2026 Alexey Shabalin <shaba@altlinux> 1:260.4-alt2 - Enable getty@.service on upgrades to restore the autovt@.service alias dropped upstream in v260, unless it is already set up, e.g. taken over by kmscon (ALT#60052). - Ship the dbus-org.freedesktop.timesync1.service alias, needed for dbus activation of org.freedesktop.timesync1 (ALT#53694).