[CentOS] Time Change: Centos-immune?

Les Mikesell lesmikesell at gmail.com
Wed Mar 7 19:17:21 UTC 2007

Florin Andrei wrote:
> Forget for a moment the fact that one should not override an RPM package 
> with files from a tarball :-) but look at this article:
> http://www.linux-watch.com/news/NS6300294422.html
> It seems like the author assumes that /etc/localtime is already a 
> symlink. Otherwise what would be the point in recommending to update 
> tzdata but don't do anything about /etc/localtime?
> So probably the article (posted on Slashdot, no less) is wrong from the 
> perspective of a Red Hat / CentOS user on two counts:
> - the tzdata update method is bad
> - /etc/localtime is not a symlink on RHEL/CentOS so the method is 
> incomplete

A quick check for your default setting should be:
date -d "March 12"
and see if the time zone displayed is the dst version.  Of course if you 
have a TZ= setting in your invironment, that zone file will be used 
instead of the default localtime.

  Les Mikesell
    lesmikesell at gmail.com

More information about the CentOS mailing list