Mailinglist Archive: opensuse (1445 mails)

< Previous Next >
Re: [opensuse] Wrong time zone
On Sat, Mar 24, 2012 at 11:43:51PM +1030, Rodney Baker wrote:
On Sat, 24 Mar 2012 23:13:16 James Knott wrote:
Ricardo Chung wrote:
Did you try to change the timezone from YaST->System->Time and Date? This
will adjust the main Clock or default timezone clock.

Yes and it shows the correct time zone, with hardware clock set to UTC.
Both the desktop clock and date command show UTC, instead of EDT.

Unset "Hardware clock set to UTC" and set the clock to local time. I seem to
remember reading about this somewhere else, but it was a long time ago (in a
galaxy far, far, away...).

Please do not!

The hardware clock has to stay in UTC as this is the reference of
the internal system clock used by the kernel.

Then choose the correct timezone in YaST. With this the correct timezone data
file will be copied to /etc/localtime. With this the time stamps used for
the root file system for checking and mounting in initrd are always correct
and there will be no problems with Day Light Saving time switches twice a year.

The time used in the user space is determined by /etc/localtime or ... if set
... by the environment variable TZ.

If the hardware clock is not in UTC, then the internal system clock used by
the kernel has to warped in initrd before the root file system is checked
and mounted.


"Having a smoking section in a restaurant is like having
a peeing section in a swimming pool." -- Edward Burr
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse+owner@xxxxxxxxxxxx

< Previous Next >