[LINK] Re: Heads Up - troubles with time zones

Stilgherrian stil at stilgherrian.com
Sun Mar 26 11:43:08 EST 2006


Oops, there were two typos in my procedure for fixing the time zones on
Fedora Core Linux machines, which clever people will have noticed and worked
around... but I'd better fix it. So here's the whole thing again...

On Fedora Core (and I'm guessing other Red Hat-like distributions too) it
appears that /etc/localtime is NOT a symbolic link but a file copied from
the /usr/share/zoneinfo directory tree during the configuration process.
Downloading the latest tzdata file and running zic will update the zoneinfo
tree but not /etc/localtime.

So, in the case of my Sydney-based FC4 machines, the following worked...

    cd <some temp directory>
    wget ftp://elsie.nci.nih.gov/pub/tzdata2006b.tar.gz
    tar xzvf tzdata2006b.tar.gz
    zic australasia
    cp /usr/share/zoneinfo/Australia/Sydney /etc/localtime

Enjoy,

Stil


-- 
Stilgherrian <stil at stilgherrian.com> http://www.stilgherrian.com/
Internet, IT and Media Consulting, Sydney, Australia. ABN 25 231 641 421
mobile 0407 623 600 (international +61 407 623 600)
fax 02 9516 5630 (international +61 2 9516 5630)







More information about the Link mailing list