After replacing chrony with timesyncd, NTP sync works with NTP servers
from DHCP.
# sudo chronyc sources
MS Name/IP address Stratum Poll Reach LastRx Last sample
===============================================================================
^? ntp-nts-2.ps5.canonical.> 0 6 0 - +0ns[ +0ns] +/- 0ns
^? ntp-nts-3.ps5.canonical.> 0 6 0 - +0ns[ +0ns] +/- 0ns
^? ntp-nts-2.ps6.canonical.> 0 6 0 - +0ns[ +0ns] +/- 0ns
^? ntp-nts-3.ps6.canonical.> 0 6 0 - +0ns[ +0ns] +/- 0ns
^? ntp-nts-1.ps5.canonical.> 0 6 0 - +0ns[ +0ns] +/- 0ns
^? ntp-nts-1.ps6.canonical.> 0 6 0 - +0ns[ +0ns] +/- 0ns
# apt install systemd-timesyncd
[...]
# reboot
# sudo systemd-analyze cat-config systemd/timesynd
# Main configuration file systemd/timesynd not found
# timedatectl timesync-status
Server: 198.168.209.21 (198.168.209.21)
Poll interval: 8min 32s (min: 32s; max 34min 8s)
Leap: normal
Version: 4
Stratum: 2
Reference: C3DC5EA3
Precision: 1us (-24)
Root distance: 5.881ms (max: 5s)
Offset: -188us
Delay: 372us
Jitter: 70us
Packet count: 2
Frequency: -0.092ppm
# timedatectl show-timesync
LinkNTPServers=198.168.209.21 198.168.208.121 198.168.208.120
FallbackNTPServers=ntp.ubuntu.com
ServerName=198.168.209.21
ServerAddress=198.168.209.21
RootDistanceMaxUSec=5s
PollIntervalMinUSec=32s
PollIntervalMaxUSec=34min 8s
PollIntervalUSec=8min 32s
NTPMessage={ Leap=0, Version=4, Mode=4, Stratum=2, Precision=-24,
RootDelay=9.231ms, RootDispersion=1.266ms, Reference=C3DC5EA3,
OriginateTimestamp=Mon 2026-06-08 14:05:56 CEST, ReceiveTimestamp=Mon
2026-06-08 14:05:56 CEST, TransmitTimestamp=Mon 2026-06-08 14:05:56 CEST,
DestinationTimestamp=Mon 2026-06-08 14:05:56 CEST, Ignored=no, PacketCount=2,
Jitter=70us }
Frequency=-6051
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2155244
Title:
NTP servers from DHCP not picked up when using networkd
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/chrony/+bug/2155244/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs