Questions tagged [systemd-timesyncd]

10 questions
28
votes
4 answers

Force systemd timesyncd to sync time with NTP server immediately

I've configured systemd timesyncd to get it's time from a NTP server: /etc/systemd/timesyncd.conf > NTP=ca.pool.ntp.org systemctl restart systemd-timesyncd.service timedatectl set-ntp true The status is the following: $ timedatectl…
manifestor
  • 5,329
  • 5
  • 21
  • 33
5
votes
1 answer

Ubuntu 20.04 time sync problems and possibly incorrect status information

I have been having some problems with crashes on my KVM host (Lubuntu 20.04), and when troubleshooting, I noticed some time-related errors. Upon further investigation, to my horror, I saw that time was not being synced. I am sure it was set up…
Stonecraft
  • 243
  • 2
  • 4
  • 15
3
votes
3 answers

systemd-timesyncd requires incoming ephemeral ports opened

I'm trying to get some sort of time synchronization configured for a Ubuntu server. The server is behind a cloud-provider-stateless firewall. Through some trial and error I found out that in order for ntp to work, I have to open the incoming UDP…
Martin Melka
  • 109
  • 1
  • 13
2
votes
0 answers

What is the packet count in timedatectl timesync-status command

I am trying to understand the output from the timedatectl timesync-status with an example shown below: Server: 91.149.91.123 (ntp.ubuntu.com) Poll interval: 32s (min: 32s; max 34min 8s) Leap: normal Version: 4 Stratum: 2 Reference:…
2
votes
2 answers

Why is dbus-org.freedesktop.timedate1 started so frequently?

I have some Ubuntu 18.04.1 servers. They all show this service being started rougly every 10 minutes. Jan 7 06:29:05 csrf-prod1-vm dbus-daemon[434]: [system] Activating via systemd: service name='org.freedesktop.timedate1'…
OrangeDog
  • 519
  • 4
  • 20
1
vote
0 answers

NTP reach property equivalent for timedatectl command

The ntpq -p command returns information which includes the reach and when properties as shown in the example: remote refid st t when poll reach delay offset …
1
vote
2 answers

What does "systemd-timesyncd: Network configuration changed, trying to establish connection mean"?

I'm trying to debug some network connection issues and I see: systemd-timesyncd: Network configuration changed, trying to establish connection. in syslog. I've tried to google it but I can't find a good definition of it. Is it something I need to…
skwokie
  • 155
  • 8
1
vote
1 answer

Timesyncd not syncing with ntp server

I am using a embedded board which runs a DHCP client with systemd-networkd service. Here I have requirement to fetch ntp server with option 42 and synchronize time from it for every 32 seconds. I was able to do this with systemd-networkd and…
Jyothi K
  • 11
  • 1
1
vote
1 answer

How to get clock accuracy for systemd-timesyncd

I am trying to identify how accurately my clock has been synced using systemd-timesyncd. I ran the following command however there is a lot of information and it isn't abundantly clear what one is the accuracy. % timedatectl timesync-status …
Kevin Cox
  • 128
  • 5
0
votes
1 answer

Linux guest on Hyper-V host, realtime clock, UTC or local - sync with AD DC

I'm installing a Debian 11 Linux guest on a Hyper-V cluster. Hosts' realtime clocks are set to local time, as is the norm for Windows Servers; unlike the preference of Unix-like OSes. Should I execute timedatectl set-local-rtc 1 on the Linux guest,…
Krackout
  • 1,559
  • 6
  • 17