fixrtc is ineffective when there is no battery for the RTC
Bug #1696981 reported by
Alfonso Sanchez-Beato
This bug report is a duplicate of:
Bug #1623125: fixrtc script does not catch "Last mount time: n/a" string.
Edit
Remove
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
initramfs-tools (Ubuntu) |
Incomplete
|
Medium
|
Unassigned |
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.
tags: | added: rls-aa-incoming |
tags: | removed: rls-aa-incoming |
Changed in initramfs-tools (Ubuntu): | |
importance: | Undecided → Medium |
To post a comment you must log in.
This debdiff adds a fixrtc-mount that helps with this issue by looking at dates from files, once root has been mounted.