You are not logged in.

#1 2007-11-19 14:31:26

antonis00
Member
From: Cyprus
Registered: 2004-05-30
Posts: 10

system time wrongly set to UTC after full system update

After updating my arch linux box with pacman -Syu the time is wrongly set to UTC time.
I use only arch linux on all of my computers.
The time in the BIOS is set to UTC and is correct.

In my /etc/rc.conf I have

HARDWARECLOCK="UTC"
TIMEZONE=Europe/Athens

Does anyone have the same problem? Did anyone find a fix?

P.S I don't want to set the HARDWARECLOCK="localtime"

Offline

#2 2007-11-19 18:27:18

RobF
Member
Registered: 2006-10-10
Posts: 157

Re: system time wrongly set to UTC after full system update

Shouldn't the TIMEZONE line read

TIMEZONE="Europe/Athens"  ?

Offline

#3 2007-11-19 19:16:39

insane
Member
Registered: 2006-06-04
Posts: 106

Re: system time wrongly set to UTC after full system update

Try as root tzselect. I don't think there is a need to edit your .profile file as the tzselect command suggests.  If that doesn't work try to link manualy your favorite  zone from /usr/share/zoneinfo/ to /etc/localtime.

Offline

#4 2007-11-21 07:11:19

antonis00
Member
From: Cyprus
Registered: 2004-05-30
Posts: 10

Re: system time wrongly set to UTC after full system update

I believe that the problem lies in hwclock command or the kernel.
when I issue the command hwclock --utc --hctosys
the time stays the same (UTC timezone) while it should change to my timezone (Europe/Athens). I tried it with other timezones as well but the result is the same.

Anyone experiencing the same problem ?

Offline

#5 2007-11-21 10:15:45

zhiwen
Member
Registered: 2007-11-10
Posts: 12

Re: system time wrongly set to UTC after full system update

I have the same problem after upgrade, and I notice there is no corresponding timezone data in  /usr/share/timezone.

/usr/share/timezone seems not belonging to any package, how can I get the right timezone data?

Last edited by zhiwen (2007-11-21 10:16:16)

Offline

#6 2007-11-21 10:22:56

byte
Member
From: Düsseldorf (DE)
Registered: 2006-05-01
Posts: 1,872

Re: system time wrongly set to UTC after full system update

pacman -S tzdata


I hate sigs. This one only exists to remind myself to get an avatar.

Offline

#7 2007-11-21 10:29:35

zhiwen
Member
Registered: 2007-11-10
Posts: 12

Re: system time wrongly set to UTC after full system update

byte:

it fixes the problem, thanks.

Offline

#8 2007-11-21 13:17:48

antonis00
Member
From: Cyprus
Registered: 2004-05-30
Posts: 10

Re: system time wrongly set to UTC after full system update

The problem is fixed for me too now. It seems that there was something wrong with the tzdata package.

Offline

Board footer

Powered by FluxBB