your system time should be in UTC, the kernel keeps track of time in UTC, there 
is no alternative.

If your problem is the reporting of time when, for example, you use the date 
command, then that is converted to localtime in two steps:

1. the system wide file called /etc/localtime, which should be a link to your 
locale in /usr/share/zoneinfo like this:

[EMAIL PROTECTED] nick $ ls -l /etc/localtime
lrwxrwxrwx  1 root root 36 Aug  7  2003 /etc/localtime -> 
/usr/share/zoneinfo/Pacific/Auckland

2. the TZ variable, which allows individual users to vary from the
system wide locale, eg if you logged into my server from the other side
of the world you may want to set TZ so you got your local time.

example:

[EMAIL PROTECTED] nick $ date
Wed Apr  6 13:53:16 NZST 2005
[EMAIL PROTECTED] nick $ TZ=PST date
Wed Apr  6 01:53:23 PST 2005


Short story, check your /etc/localtime link.

On Tue, 05 Apr 2005 20:49:06 -0400
Philippe Gagnon wrote:

> Greetings,
> 
> My system seems to reset the system time to UTC each times I reboot. Is 
> there anyway to fix this?
> 
> Thanks.
> Philippe.
> --
> gentoo-user@gentoo.org mailing list

-- 
Nick Rout

--
gentoo-user@gentoo.org mailing list

Reply via email to