Re: ntpd vs ntpdate with no hardware clock
Date: Sun, 07 Jul 2024 19:07:02 UTC
On Sun, 7 Jul 2024, Ronald Klop wrote: > I created fakertc for my rpi4. > https://www.freshports.org/sysutils/fakertc/ > > Saves the time on shutdown and sets it back early at boot. > > Plus I use ntpdate together with ntpd. Works fine. I have question here: Rrecently I have removed an RTC battery from my amd64 system and it turned out that ntpd couldn't do anything to set the time because the local DNS resolver failed (I presume it was dnssec failure). What is the most elegant solution to cope with such a race condition? (DNS needs time, setting time needs DNS) Marcin