[Bug 1696981] Re: fixrtc is ineffective when there is no battery for the RTC
Stefan Bader
stefan.bader at canonical.com
Tue Sep 5 10:44:55 UTC 2017
I was reviewing the latest patch and beside of this part being modified (@Ogra, would you be fine with that? And btw Jan 1 2017 is a Saturday), I am not fully understanding what exactly looking at file dates gains. The date will be less wrong but still potentially off by days. The system date would be corrected via NTP and I believe that would also update the RTC (which without a battery is lost again).
Could you elaborate what would be gained by using the file date compared to possibly just extending ogra's patch to move anything before the year x or without a date to an artificial year x?
** Changed in: initramfs-tools (Ubuntu)
Status: New => Incomplete
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to initramfs-tools in Ubuntu.
https://bugs.launchpad.net/bugs/1696981
Title:
fixrtc is ineffective when there is no battery for the RTC
Status in initramfs-tools package in Ubuntu:
Incomplete
Bug description:
When there is no battery for the RTC, fixrtc is not able to find a
good enough date. To fix the clock, this script is using the last time
the root filesystem was mounted, but as that is done before there is
any network, and as after a reboot/poweroff the RTC time is always
reset (because time is not kept due to lack of battery), the mount
time will never be good.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/1696981/+subscriptions
More information about the foundations-bugs
mailing list