Bug#552810: initramfs-tools: Localtime not set during initramfs boot leading to wrong fsck.ext4 errors
On Wed, Oct 28, 2009 at 11:05:09AM +0100, ed.gomez@free.fr wrote:
> Package: initramfs-tools
> Version: 0.93.4
> Severity: important
>
> *** Please type your report below this line ***
>
> After a power grid problem in my neighborhood, my workstation
> rebooted and detected problems in the ext4 LVM volumes.
>
> It appears that after a manual fsck.ext4, these problems were
> trigerred because of a mismatch between the localtime and the time
> set during initramfs boot sequence (probably the bios time).
>
> The journal entries timestaps were simply offseted by one hour. This
> matches exactly the difference between the my bios time (set to UTC)
> and the Europe/Paris locatime my box uses.
>
> I think it would be good to set to the correct locatime before running
> disk checks that depend on the machine time. Otherwise it triggers
> errors that cannot be skipped automatically when they could be.
initramfs does not do *any* fsck.
also please just use UTC everywhere, this looks more like a
user support question those are to be asked in a debian user
mailinglist. thanks
Reply to: