fsck halts bootup when checked file has timestamp in the future from other Ubuntu installation
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
clock-setup (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: e2fsprogs
I currently dual boot Karmic and Jaunty on separate disks, however they mount eachothers partitions and share data. Today when I rebooted from Jaunty into Karmic the startup was halted and dropped me to a repair shell during the fsck:
/var/log/
Log of fsck -C3 -R -A -a
Tue Sep 1 07:37:27 2009
fsck from util-linux-ng 2.16
/dev/sda6: Superblock last write time (Tue Sep 1 14:36:33 2009,
now = Tue Sep 1 07:37:27 2009) is in the future.
/dev/sda6: UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY.
(i.e., without -a or -p options)
fsck died with exit status 4
Tue Sep 1 07:37:27 2009
----------------
It was 14:37 Pacific time (my computer's time zone) when I booted up, and shortly before that when I shut down, however Karmic appears to think it's about 7 hours earlier, which I believe is UTC. When I finish booting Karmic connects to the internet and sets the gnome-clock to the proper (pacific) time, so I never noticed that the internal clock was off until it blocked bootup.
ProblemType: Bug
Architecture: amd64
Date: Tue Sep 1 14:42:05 2009
DistroRelease: Ubuntu 9.10
NonfreeKernelMo
Package: e2fsprogs 1.41.9-1ubuntu1
ProcEnviron:
LANG=en_US.UTF-8
SHELL=/bin/bash
ProcVersionSign
SourcePackage: e2fsprogs
Uname: Linux 2.6.31-8-generic x86_64
At a guess, your Jaunty and Karmic installations disagree about whether the hardware clock should be to tick localtime or UTC time, and one of the things the shutdown scripts do is to set the hardware clock from the system clock. This causes the time at boot up to be incorrect until NTP has a chance to correct things.
This isn't an e2fsprogs bugs, but rather a system configuration error.