1

Is there any issue with running systemd-timesyncd and ntp on the same machine?

I'm asking this because I have started using NTP on all servers but the systemd-timesyncd is running there as well. Should I disable it? Any issues with both running?

0
3

Running both at the same time is not recommended. Both services might be using difference ntp servers with slight difference in time. So your server will experience time corrections very frequently: time synced by ntp service will get changed by systemd-timesyncd, and vice-verse.

You may already know, you can disable systemd-timesyncd start on boot and also stop the running service simultaneously using:

systemctl disable systemd-timesyncd --now
1
0

You can also fully disable systemd-timesyncd using:

timedatectl set-ntp 0

Or enable using:

timedatectl set-ntp 1

See:

timedatectl --help

To check if systemd-timesyncd is enabled or disabled simply type timedatectl status and check the value of "Network time on:" where "yes" indicates enabled and "no" means disabled.

Sorry for the separate answer but I can't add a comment due to lack of reputation.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.