|
|
Log in / Subscribe / Register

A rift in the NTP world

A rift in the NTP world

Posted Feb 12, 2017 18:10 UTC (Sun) by smcv (subscriber, #53363)
In reply to: A rift in the NTP world by mtaht
Parent article: A rift in the NTP world

> However, systems that are starting up need to know the date within no more than 68 years

I like systemd's trick for dealing with this: during early boot, if the kernel clock is before the date/time on which this particular version of systemd was compiled, it brings the clock forward to that date/time.

As long as you don't leave a device for decades without upgrading its OS, and rebuild systemd at least every few years (either for a security or other bug fix, or just artificially to get a newer timestamp), that's good enough.

There'd be nothing to stop the kernel doing the same trick with its own release or compilation date/time.


to post comments

A rift in the NTP world

Posted Feb 13, 2017 1:31 UTC (Mon) by mathstuf (subscriber, #69389) [Link]

Note that with SOURCE_DATE_EPOCH from reproducible build efforts will make that date the date of the release or tag or some other static timestamp rather than "when this binary was built".


Copyright © 2026, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds