Comment 0 for bug 268808

Revision history for this message
Sid MacT (smplace-launchpad-deactivatedaccount) wrote :

When /etc/default/rcS has the line
UTC=no
then when Ubuntu startup runs fsck one receives the message:
'superblock last write time is in the future. FIXED'
googling reveals the problem is the hardware clock is set to local time,
but the Ubuntu shutdown process writes the UTC, i.e., GMT time to the superblock.
So on reboot, when the fsck compares the hardware clock to the superblock,
the GMT time in the superblock is 'in the future'.

All the google links talk about the problem being that the startup process does the
superblock compare, via fsck, before the routine runs that resets the system time.

My perception is that the real issue is that the shut-down routing writes the GMT time to
the superblock instead of the local time.

I know there is the work-around of setting UTC=yes; but this messes up people the dual-boot(ugh) Windows.