You are not logged in.
Hello,
whenever i boot up Arch seens to ignore my LOCALTIME setting, look:
from /etc/rc.conf:
HARDWARECLOCK="localtime"
TIMEZONE="America/Sao_Paulo"
console# date
Ter Jul 6 11:15:18 UTC 2010
See ? Till some days ago the correct setting were loading OK.
Dunno what happened.
any suggestion ?
TIA
Spunkiie
Last edited by spunkiie (2010-07-08 19:08:53)
Offline
Does this show the correct date/time
date "+%a %b %d %H:%M:%S %Z %Y"
EDIT: Also, see if this http://www.linuxquestions.org/questions … tc-620797/ helps.
Last edited by Leonid.I (2010-07-06 18:01:42)
Arch Linux is more than just GNU/Linux -- it's an adventure
pkill -9 systemd
Offline
Leonid.I
Same result with your command:
date "+%a %b %d %H:%M:%S %Z %Y"
Ter Jul 06 16:46:10 UTC 2010
The topic sugested to copy the file instead of synlinking, so i did:
First, check the md5sum of the source file:
[root@host etc]# md5sum /usr/share/zoneinfo/America/Sao_Paulo
7613c2153980b60de4fb74f692d7c1eb /usr/share/zoneinfo/America/Sao_Paulo
Okay, now copy and check md5sum again:
[root@host etc]# cp /usr/share/zoneinfo/America/Sao_Paulo localtime
[root@host etc]# md5sum /etc/localtime
7613c2153980b60de4fb74f692d7c1eb /etc/localtime
Ok, the md5sum are the same, let's use 'date' again:
[root@host etc]# date
Ter Jul 6 16:49:55 UTC 2010
any other idea ?
TIA
Offline
spunkiie,
there are several reports in the forum about tzdata corruption.
Try reinstalling it.
Also, what is the output of date -u ?
Mektub
Follow me on twitter: https://twitter.com/johnbina
Offline
tzdata 2010j here -- date in EDT, as it's supposed to be.
@spunkiie
Hmm, try setting the env. variable TZ to "America/Sao_Paulo". If this does not help, reinstall tzdata.
Arch Linux is more than just GNU/Linux -- it's an adventure
pkill -9 systemd
Offline
Just for clarification.
I have an untouched installation of Arch on a VirtualBox image.
The only thing i do is: pacman -Syu from time to time.
Nothing more. No configuration changes, no manual compilation of software, nothing.
This 'UTC" issue started a few days ago (can't exactly say after which update) but as stated above, i'm sure its an update problem.
Mektub:
Tried re-installing tzdata, same problem after.
Leonid.I:
exporting TZ="America/Sao_Paulo" worked. But let me still wondering which package broke things up.
Well, i'm putting [SOLVED] in this topic.
Thank you guys
Offline
I'm curious too. What is the host OS/VB settings? /bin/date belongs to coreutils, so you may try to downgrade. Just as a check, what happens, if you change the TIMEZONE to something else, e.g. America/Indiana/Indianapolis, which is EDT? Does it work?
Arch Linux is more than just GNU/Linux -- it's an adventure
pkill -9 systemd
Offline