Comment 6 for bug 43239

Revision history for this message
In , Theodore Ts'o (tytso) wrote : Re: Bug#343645: e2fsprogs: Last write time in future error during boot up

On Fri, Dec 16, 2005 at 03:41:20PM -0500, Rick Friedman wrote:
> Package: e2fsprogs
> Version: 1.38+1.39-WIP-2005.12.10-1
> Severity: normal
>
>
> Since upgrading to version 1.38+1.39-WIP-2005.12.10-1, whenever I boot
> up, the following error is displayed:
>
> /: Superblock last write time is in the future
>
> The date & time on my system is kept in Eastern time (the hardware clock
> that is). /etc/default/rcS has the following line: UTC=no
>
> What is the cause of this error? I have a dual boot system with Windows.
> Do I need to change how the clock is setup? If so, how?

Sigh, I see what's going on. Unfortunately S22hwclockfirst.sh gets
done *after* S10checkroot. So the system time is still incorrect when
we check the root filesystem; it doesn't get adjusted to account for
the fact that you're using a non-GMT time until afterwards. I run
with my hardware clock set to UTC, so I didn't notice this problem.

Could you try renaming /etc/rcS.d/S22hwclockfirst.sh to
/etc/rcS.d/S09hwclockfirst.sh and see if this addresses your problem?

      - Ted