>Hi all, I have a linux 2x machine and a 1.3.57 machine
>that both have the same problem.
>1: The cmos time is set to local
>2: The TZ is correct
What do you mean by "The TZ is correct"?
Are you talking about the TZ environment variable? If so you may like
to consult the FAQ entry "How do I set the timezone ?"
As a rule of thumb it's *never* a good idea to simply say "foo is
correct". It is always better to *show* us that which you think is
correct. If it is correct you will have wasted neglegable effort.
Either way you you'll have avoided sending people on a wild
goose-chase.
The TZ variable should usually not be set and is only used to override
the timezone on a per-process basis (handy if you like to have a row
of international xclocks or if you have users logged in from other
parts of the world). The TZ variable is definitely *not* used to
implement the system default timezone (that's done by
/usr/lib/zoneinfo/localtime).
Is the system clock actually right? (i.e. does "TZ=GMT date" actually
return the true GMT time?)
If the clock is really wrong and the timezone really is correct it is
possible that "syslogd" and "clock" are getting run before /usr is
mounted. To fix this make a copy of "localtime" then unmount /usr and
put /usr/lib/zoneinfo/localtime on the root partition so that the
correct information is found there even w/o /usr mounted.
--
. _\\__[oo from | Phones: +44 121 471 3789 (home)
. l___\\ /~~) /~~[ / [ | PGP-fp: D7 03 2A 4B D8 3A 05 37...
# ll l\\ ~~~~ ~ ~ ~ ~ | http://wcl-l.bham.ac.uk/~bam/