Skip to content
Advertisement

Stop timesyncd from polling hard coded Debian timeservers

The systemd-timesyncd daemon repeatedly tries to contact the following hard coded (compiled) time servers if neither an NTP server is specified manually nor one received via DHCP:

JavaScript

Since I’m operating behind a corporate proxy, it will never be successful to reach these servers. Is there a way to prevent this senseless polling (without recompilation)?

Advertisement

Answer

If you aren’t allowed to contact any NTP servers to sync with, then disable the the service that does that:

JavaScript

The first command will stop the service immediately. The second will prevent it from being restarted on the next boot.

User contributions licensed under: CC BY-SA
4 People found this is helpful
Advertisement