Questions tagged [systemd-timesyncd]
13 questions
32
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
- 6,079
- 7
- 27
- 39
10
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
- 313
- 3
- 4
- 18
4
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
- 179
- 2
- 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:…

Tony.H
- 131
- 1
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
- 569
- 4
- 20
2
votes
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
- 165
- 2
- 9
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 …

Tony.H
- 131
- 1
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
- 6
0
votes
1 answer
Why output of command timedatectl list-timezones is only UTC?
In my Yocto distribution is installed the systemd-timesyncd service and the program timedatectl.
I have configured a UTC NTP Server in the file /etc/systemd/timesyncd.conf. The systemd-timesyncd service works correctly and synchronizes date and time…

frankfalse
- 125
- 9
0
votes
0 answers
What's the policy synchronization with the NTP Server of the service systemd-timesyncd?
In my Linux distribution is enabled the service systemd-timesyncd.service.
Below it is shown the /etc/systemd/timesyncd.conf file (see this post for find the following command):
[Time]
#NTP=
#FallbackNTP=time1.google.com time2.google.com…

frankfalse
- 125
- 9
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,575
- 7
- 20
-1
votes
1 answer
What's the default NTP server used by systemd-timesyncd?
In my Linux distribution is enabled the service systemd-timesyncd. Very useful to understand how the service works is this post answer.
Below I report some system information about this service:
its unit file is:…

frankfalse
- 125
- 9