When you say zone info file, do you mean tzdata?
If so would this work:
cp /etc/localtime /etc/localtime.bk
cp ...tzdata /etc/localtime
Professeur CÉGEP de l'Outaouais
>>> Jim McQuillan <jam mcquil com> 2007-03-15 14:01:06 >>>
I had a similar problem with a RHEL3 machine. I installed the tzdata
package, and the zdump command shown below worked, but the date still
didn't show right after the DST switch over on sunday.
I found the problem was the /etc/localtime
On some systems its a file that contains timezone info. On other
systems it's a symlink to a file (in my case /usr/share/zoneinfo/EST5EDT).
when you run a command that gets the current time, like the 'date'
command, it looks at /etc/localtime. if that file or link isn't
correct, it'll still report the wrong time.
So, either you need to re-point that symlink at the correct zoneinfo
file, or you need to copy the correct zoneinfo file on top of it.
save a copy of the original file tho. And, there should be no problem
doing this while the system is running.
jam Ltsp org
Shawn Powers wrote:
> I thought my servers were all OK -- but I missed one. I have a lowly
> ol' FC1 box, and there appears to be no tzdata update. I did get one
> that someone had compiled, and now the tzdata is correct, but is there
> anyway short of a reboot to get the system to "look again" at the tzdata
> and change the clock? I don't know what process might manage that...
> Thanks for any insight,
> On Feb 23, 2007, at 1:52 PM, Petre Scheie wrote:
>> Most distros put out patches for the new DST almost two years ago when
>> the law changing DST was enacted. So, if you've been keeping your
>> system updated, you should already be covered.
>> To see if you're patched, run this:
>> /usr/sbin/zdump -v US/Central |grep 2007
>> Substitute your own timezone for Central. It will show you when DST
>> will start and end for your timezone. If you see dates of Mar 11 and
>> Nov 4, you're covered.
>> Jim Kronebusch wrote:
>>> Does anyone know if most linux distros have already incorporated
>>> updates for
>>> the new daylight savings time changes?
>>> I have seen things regarding updates for MS and Apple products, but
>>> nothing on
>>> Jim Kronebusch
>>> Cotter Tech Department
>> K12OSN mailing list
>> K12OSN redhat com
>> For more info see <http://www.k12os.org>
>> This message checked for SPAM and Viruses by MailFoundry.
>> If this is SPAM, please forward it to spam mailfoundry com
> Shawn Powers
> Technology Director
> Inland Lakes Schools
> PHN: 231-238-6868 x9174
> FAX: 509-356-7024
> spowers inlandlakes org
> Work Website: http://techcorner.inlandlakes.org
> Personal Blog: http://www.brainofshawn.com
> --<Disclaimer, now required for frustrating reasons>--
> The views, opinions, visions, thoughts, comments,
> sarcastic whims, forecasts, poetic outbursts,
> cynical wit, future plans, implementation ideas,
> OS preference, curricular insight, ice cream preference,
> or anything else I might infer are not the
> views of Inland Lakes Schools. Pretty much everything
> I say, do, think, or imply with punctuation should be
> considered my own delusions, and ignored completely.
> K12OSN mailing list
> K12OSN redhat com
> For more info see <http://www.k12os.org>
K12OSN mailing list
K12OSN redhat com
For more info see <http://www.k12os.org>