Most systemd systems let add-on time sync packages handle time sync if they're present...
The actual gory details are in /lib/systemd/system/systemd-timesyncd.service: root@pi3jr:/lib/systemd/system# more systemd-timesyncd.service.d/disable-with-time-daemon.conf [Unit] # don't run timesyncd if we have another NTP daemon installed ConditionFileIsExecutable=!/usr/sbin/ntpd ConditionFileIsExecutable=!/usr/sbin/openntpd ConditionFileIsExecutable=!/usr/sbin/chronyd ConditionFileIsExecutable=!/usr/sbin/VBoxService FWIW, I also found that ntpd does a better job on systems that slew. badly from keeping accurate time. If you install a package, make sure that the service is enabled to run at boot and that it actually starts. Some packages install but don't automatically get set to run at boot. But bottom line is run 'something' to keep the clocks in synch with true time. On Monday, February 1, 2021 at 1:10:48 PM UTC-8 Tom Keffer wrote: > Just discovered that it seems to be an Ubuntu thing that systemd-timesyncd > is installed as a package. To test whether your system is running it, you > should really do (on Debian): > > *systemctl status systemd-timesyncd* > > > -tk > > On Mon, Feb 1, 2021 at 1:06 PM Tom Keffer <[email protected]> wrote: > >> systemd comes with a simplified client-only time service called >> systemd-timesyncd >> <https://wiki.archlinux.org/index.php/systemd-timesyncd>, which, on many >> systems, is on by default. You should run either systemd-timesyncd or ntp, >> but not both. >> >> To see if you are already running systemd-timesyncd: >> >> *apt list --installed | grep systemd-timesyncd* >> >> >> To see if you are running ntp: >> >> *apt list --installed | grep ntp* >> >> >> Personally, I run the systemd version, because it is smaller and simpler. >> If you want to do this, first remove ntp (if it has been installed): >> >> *sudo apt remove ntp* >> >> >> Then enable the systemd version: >> >> *sudo timedatectl set-ntp true* >> >> >> To see its status: >> >> *timedatectl status* >> >> >> This should really be in the wiki somewhere... >> >> *-tk* >> >> >> On Mon, Feb 1, 2021 at 9:46 AM vince <[email protected]> wrote: >> >>> On Monday, February 1, 2021 at 8:35:05 AM UTC-8 Michael wrote: >>> >>>> Your answer is once again a reason for me to deal with the topic of >>>> time synchronisation on different computers >>>> >>> >>> Just install ntp on all your computers. There's a reason it's been >>> around for 30 years. It works. >>> >>> >>> -- >>> You received this message because you are subscribed to the Google >>> Groups "weewx-user" group. >>> To unsubscribe from this group and stop receiving emails from it, send >>> an email to [email protected]. >>> To view this discussion on the web visit >>> https://groups.google.com/d/msgid/weewx-user/1ed17db3-9c68-47b3-bca9-bc0e74434d3en%40googlegroups.com >>> >>> <https://groups.google.com/d/msgid/weewx-user/1ed17db3-9c68-47b3-bca9-bc0e74434d3en%40googlegroups.com?utm_medium=email&utm_source=footer> >>> . >>> >> -- You received this message because you are subscribed to the Google Groups "weewx-user" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/35da0132-eb80-411c-8653-38217ea09ec2n%40googlegroups.com.
