On Thu, Sep 24, 2015 at 06:18:24PM +0200, Berend De Schouwer wrote:
It's nice if the clock is more-or-less right before services
There was a discussion about this here few weeks ago. I think there
are several options how could it be improved in Fedora.
A) add a "fake-hwclock" service to restore time across reboot
1) disabled by default
2) enabled by default on arm
3) enabled only if there is no RTC or it's missing battery
4) ask the user in the installer
B) restore time from the driftfile in chronyd (if it's in future) and
start it earlier in the boot
1) configure it to do that by default on arm
2) modify it to always try to detect if the time is "uninitialized"
As for the detection, would it be sufficient to check if the date is
1970-01-01 or 2000-01-01? Are there any RTCs with which the kernel
would boot to a different date?