Re: RPI4 + ntpdate + unbound

John Kennedy <[email protected]>
Newsgroups gmane.os.freebsd.devel.arm
Message-ID <[email protected]>
On Thu, Jul 07, 2022 at 12:56:05PM +0200, Ronald Klop wrote:
> Based on this idea I created a /etc/rc.d/fakertc script. It saves the datetime on shutdown and restores it early on boot.
> 
> Not polished yet. But it works on my RPI4 14-CURRENT.
> With this script the time does not go backwards in the logs anymore. And it should provide a more reasonable time for validating certificates in DNSSEC/ipsec or similar processes before ntpdate kicks in.

  None of these is perfect, but it does stop the clock from rolling
backwards and doesn't require a network.  It should solve the issue with
DNSSEC (since even days shouldn't matter for cert validity with enough
servers).  I'm not sure if ntpd will be happy (does the --force-step-once
work if you boot up, don't have a network for a chunk of time, then regain
network?).
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.