Article View: comp.os.linux.development.system
Article #34Re: A whacky DATE bug in Linux - PLEASE HELP!
From: Brian McCauley
Date: Sun, 20 Sep 1998 00:00
Date: Sun, 20 Sep 1998 00:00
28 lines
2361 bytes
2361 bytes
Ron House <house@usq.edu.au> writes:
> This is my second post about this problem. I only got a few replies to
> my first, and I am reasonably certain this is a bug in Linux.
I think there is a bug but not the bug you think.
If I set both kernel and user space timezones to Australia/Queensland
(at this time of year) the kernel thinks I'm in GMT+11 and the user
space thinks I'm in GMT+10.
The bug appears to be that there is confusion (disagreement?) about
the meaning of the tz_dsttime member of the struct timezone structure.
If I look at a dos filesystem the timestamps are *one* hour out *not*
ten hours out. If you are seeing 10 hours out then I'd guess one of
your timezones is set wrong.
First check that your system clock is right. Do "date -u". Do you
see the correct UCT time?
--
\\ ( ) No male bovine | Email: B.A.McCauley@bham.ac.uk
. _\\__[oo faeces from | Phones: +44 121 471 3789 (home)
.__/ \\ /\@ /~) /~[ /\/[ | +44 121 627 2173 (voice) 2175 (fax)
. l___\\ /~~) /~~[ / [ | PGP-fp: D7 03 2A 4B D8 3A 05 37...
# ll l\\ ~~~~ ~ ~ ~ ~ | http://www.wcl.bham.ac.uk/~bam/
###LL LL\\ (Brian McCauley) |
Technical Details
Message-ID:
<u9ww6ypy95.fsf@wcl-l.bham.ac.uk>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<3601D4F7.247C8BC2@usq.edu.au>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f5392,12de531511895886 X-Google-Attributes: gidf5392,public X-Google-Thread: 10c696,12de531511895886 X-Google-Attributes: gid10c696,public X-Google-Thread: f9b51,12de531511895886 X-Google-Attributes: gidf9b51,public X-Google-Thread: faa64,12de531511895886 X-Google-Attributes: gidfaa64,public X-Google-Thread: f9382,12de531511895886 X-Google-Attributes: gidf9382,public X-Google-Thread: ff9be,12de531511895886 X-Google-Attributes: gidff9be,public X-Google-Thread: 100c5f,12de531511895886 X-Google-Attributes: gid100c5f,public X-Google-Thread: 102983,12de531511895886 X-Google-Attributes: gid102983,public From: Brian McCauley <B.A.McCauley@bham.ac.uk> Subject: Re: A whacky DATE bug in Linux - PLEASE HELP! Date: 1998/09/20 Message-ID: <u9ww6ypy95.fsf@wcl-l.bham.ac.uk> X-Deja-AN: 393016010 References: <3601D4F7.247C8BC2@usq.edu.au> Organization: Wolfson Computer Lab, University of Birmingham, England Newsgroups: comp.os.linux.development.system,comp.os.linux.development.apps,comp.os.linux.setup,,alt.linux,alt.os.linux,comp.os.linux,comp.os.linux.questions,aus.computers.linux