On Sat, Aug 08, 2009 at 10:24:07AM -0400, Theodore Tso wrote:
> The following patch will be in the next release of e2fsprogs. If
> you'd like to apply it and rebuild it, it will provide the proof you
> need that either your laptop RTC clock is bad or there's something
> strange going on with the system time on your laptop.
Okay, so I rebuilt e2fsprogs with that patch and let my laptop run out
of battery power. This is the output:
Checking root file system...fsck from util-linux-ng 2.16
/dev/sda3: Superblock last write time (Mon Aug 10 01:39:53 2009,
now = Sun Aug 9 23:39:58 2009) is in the future.
I'm in UTC+2; since there is a time difference of approximately two
hours (modulo a few seconds -- it certainly took me more than five
seconds to find the power cord and boot the system again), I guess that
makes it clear that something somewhere is confused about timezones. The
'now' was approximately correct, so I would guess that either the kernel
is writing dates with timezone offsets when it shouldn't, or that
e2fsprogs is adding a timezone offset twice when checking.
Just to be sure, I held the power button while the system was connected
to the power grid to force an unclean shutdown; by doing so, I could
successfully reproduce the problem.
Regards,
--
The biometric identification system at the gates of the CIA headquarters
works because there's a guard with a large gun making sure no one is
trying to fool the system.
http://www.schneier.com/blog/archives/2009/01/biometrics.html
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]