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?


It shouldn't be necessary to disable systemd-timesyncd if you install ntp, because the ntp service configuration includes the following:

# grep -i conflict /lib/systemd/system/ntp.service 

The same applies for the chrony service on newer Ubuntu versions.

There have been startup bugs in the past which meant systemd-timesyncd tried to adjust the clock while another NTP server is running, producing harmless-but-annoying errors in the system logs. So there should be no harm in disabling systemd-timesyncd if that's what you prefer.

| improve this answer | |

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.