[lug] local timezone bad after update

D. Stimits stimits at comcast.net
Fri Mar 25 12:30:56 MST 2005


Zan Lynx wrote:
> On Thu, 2005-03-24 at 18:10 -0700, D. Stimits wrote:
> 
>>I did a massive yum update on a Fedora Core 2 box. Now the timezone is 
>>all messed up and I CAN'T make it do the right thing. If I tell my clock 
>>to display Denver time zone, it works right. If I tell it to use local 
>>time zone, it fails badly...I cannot, in any way, force or make it think 
> 
> [snip]
> 
>>What file 
>>can I manually edit to force this?
> 
> 
> /etc/localtime should be a symlink
> to /usr/share/zoneinfo/America/Denver.  It can also be a copy but I like
> it better as a symlink.

Bingo! If I had an E-cigar I'd send it to you as the prize. :)

Looks like the tzdata package has a bug that it breaks this sym link and 
installs a hard link file in /etc/. I'm guessing that perhaps the file 
it was really supposed to update was in /usr/share/zoneinfo/ and that it 
overwrote the /etc/ file instead of putting in the proper update. Anyone 
updating tzdata rpm is likely to see this bug.

Then, the time tools are also broken, because when doing updates, they 
fail to set the /etc/localtime sym link...they continue to leave what 
was there to still be there.

D. Stimits, stimits AT comcast DOT net



More information about the LUG mailing list