systemd-timesyncd

Richard Laager rlaager at wiktel.com
Thu Mar 25 20:32:59 UTC 2021


On 3/24/21 3:39 PM, Hal Murray via devel wrote:
> Do we have a HOWTO for setting up ntpsync?

I also don't know what you mean by ntpsync.

> Does it include turning off systemd-timesyncd?

NTPsec ships with etc/ntpd.service which has:
Conflicts=systemd-timesyncd.service

That Conflicts means ntpd.service and systemd-timesyncd.service can't 
both be running.

Did that unit file get installed on your system (to e.g. 
/etc/systemd/system/ntpd.service), or did you end up some state where 
you only have /etc/init.d/ntpd (and thus the unit is coming from 
systemd-sysv-generator)?

You can check where the unit is coming from with:
systemctl status ntpd

-- 
Richard


More information about the devel mailing list