On Sun, Aug 09, 2009 at 11:58:46PM +0200, Wouter Verhelst wrote:
> 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.

This also makes it clear why Ted (being on a negative UTC offset)
doesn't see this: His timestamp is always in the past, not in the
future as ours.

Additionally, this check is a severe nuisance for me. I frequently
hack around with rescue systems and do not bother with time zones
while just fixing a single file. Therefore, I expect that all times
may be two hours late or fast after such an operation, and having a
head- and consoleless system hang on boot just because of such an
issue is a grave issue.

I think that this timestamp check is too picky and should be removed
completely or relaxed in a way that it does only return a non-zero
exit code if the difference is more than could be explained by a
timezone issue.

Additionally, a "bad RTC" should not be a showstopper for running Linux.

Greetings
Marc

-- 
-----------------------------------------------------------------------------
Marc Haber         | "I don't trust Computers. They | Mailadresse im Header
Mannheim, Germany  |  lose things."    Winona Ryder | Fon: *49 621 72739834
Nordisch by Nature |  How to make an American Quilt | Fax: *49 621 72739835



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to