Re: Daylight savings fix with OpenNTPD

Previous thread: ODBC on OpenBSD by Joaquin Herrero on Tuesday, March 20, 2007 - 11:13 am. (4 messages)

Next thread: mailman problems: group mismatch error and aliases by Peter on Tuesday, March 20, 2007 - 12:22 pm. (1 message)
From: Bray Mailloux
Date: Tuesday, March 20, 2007 - 12:05 pm

Have a patch been issued? It might just be the time servers, but date is 
reporting 11:04:31 when it is 12:05.

From: Peter Hessler
Date: Tuesday, March 20, 2007 - 12:37 pm

NTP only deals with UTC (aka Universal Time).  Your local box handles 
the pretty-print into local time (including daylight saving).  Update 
your box, you're out of date.




--
November, n.:
	The eleventh twelfth of a weariness.
		-- Ambrose Bierce, "The Devil's Dictionary"

From: Bob Beck
Date: Tuesday, March 20, 2007 - 12:43 pm

It aint the time servers they report in UCT.

	Your timezone is wrong

	-Bob

From: Dan Farrell
Date: Wednesday, March 21, 2007 - 6:59 am

I'm using the EST timezone (as reported in 'date') and yet I'm still an
hour behind... much like you...

NTPD is running and syncing up with pool.ntp.org.

And in looking further Bob's right (as usual)... I'm not using the
correct timezone setting.

I had to change that to the 'correct' EST setting...

zic -I EST5EDT


Perhaps you need to do something similar? I got this from-

http://archives.neohapsis.com/archives/openbsd/2005-08/0756.html


danno

-----Original Message-----
From: owner-misc@openbsd.org [mailto:owner-misc@openbsd.org] On Behalf
Of Bob Beck
Sent: Tuesday, March 20, 2007 3:44 PM
To: Bray Mailloux
Cc: misc@openbsd.org
Subject: Re: Daylight savings fix with OpenNTPD



	It aint the time servers they report in UCT.

	Your timezone is wrong

	-Bob

From: Jason Crawford
Date: Wednesday, March 21, 2007 - 7:35 am

If you set /etc/localtime to /usr/share/zoneinfo/US/Eastern, it'll
automatically switch between EST and EDT.


From: Otto Moerbeek
Date: Tuesday, March 20, 2007 - 1:04 pm

The ntp protocol always works with UTC, no patch needed. 

Apart from that, this is a lousy report. No details on servers or
client settings. 

	-Otto

From: Darren Spruell
Date: Tuesday, March 20, 2007 - 1:18 pm

You mean errata 009 for 4.0?

http://www.openbsd.org/errata40.html

This isn't specific to OpenNTPD, though.

DS

From: Daniel Ouellet
Date: Tuesday, March 20, 2007 - 3:30 pm

Yes there is an errata for this. You should install it.

If you are in a bind and need something quick, and I don't recommend to 
do this instead of installing the patch, but it sure work and you can do:

Download via anonymous ftp:

elsie.nci.nih.gov/pub/tzdata2007d.tar.gz

Note the file above change 4 times so far with updates every few days, 
or week, so if you don't see this one, then check for the next version 
as they become available. tzdata2007e.tar.gz. The above one was just 
release updated as of today.

Then continue with:

tar -xzf tzdata2007d.tar.gz

If you need the North America changes only as an example:

zic -d zoneinfo northamerica

This create the zoneinfo directory

cd zoneinfo

cp -r * /usr/share/zoneinfo/

So, this works and it is quick, but use at your own risk. It work, but 
that shouldn't stop you from doing the proper patch however. I did this 
as all the servers will be wipe out anyway in just a few weeks when the 
4.1 is release, or sooner when my CD comes in the mail.

Hope this help some.

Daniel

PS; This doesn't patch all the zone for everyone, just what I needed, so 
choose wisely, or better yet, use the real patch and do it right.

Previous thread: ODBC on OpenBSD by Joaquin Herrero on Tuesday, March 20, 2007 - 11:13 am. (4 messages)

Next thread: mailman problems: group mismatch error and aliases by Peter on Tuesday, March 20, 2007 - 12:22 pm. (1 message)