Re: [SLUG] Timezone/Daylight savings query.

2005-12-30 Thread Voytek Eymont

On Sat, December 31, 2005 7:57 am, Michael Fox wrote:
> Hi,
>
>
> Someone mentioned something that I thought might be relevant to a few
> others. Basically we all know the /usr/share/timezone/Australia/Sydney is
> encoded with relevant daylight savings changes.

on this subject, apart from the fact I don't have
/usr/share/timezone/Australia/Sydney
or even /usr/share/timezone

more pertinent is that my ntpd is not really keeping my clock updated

what do I need to do to see what I'm missing:



# service ntpd start
Starting ntpd: [  OK  ]
# grep ntpd /var/log/messages

Dec 31 08:53:38 koala ntpd: ntpd startup succeeded
Dec 31 08:53:38 koala ntpd[24661]: ntpd [EMAIL PROTECTED] Mon Apr  8 06:30:52
EDT 2002 (1)
Dec 31 08:53:39 koala ntpd[24661]: precision = 9 usec
Dec 31 08:53:39 koala ntpd[24661]: kernel time discipline status 0040
Dec 31 08:53:39 koala ntpd[24661]: frequency initialized -16.459 from
/etc/ntp/drift

ntp.conf has:

restrict default ignore

restrict 127.0.0.1

restrict 203.42.34.0 mask 255.255.255.0 nomodify notrust


server augean.eleceng.adelaide.edu.au
server ntp.syd.connect.com.au
server ntp.connect.com.au
server 203.42.34.53
server 203.28.234.2
server clock2.redhat.com
server clock.redhat.com

restrict 192.189.54.33 nomodify

restrict 192.189.54.17 nomodify
restrict 203.28.234.2 nomodify
restrict 66.187.224.4 nomodify
restrict 66.187.233.4 nomodify


fudge127.127.1.0 stratum 10

driftfile /etc/ntp/drift
broadcastdelay0.008

authenticate no

keys/etc/ntp/keys






-- 
Voytek

-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Timezone/Daylight savings query.

2005-12-30 Thread Ken Foskey
On Sat, 2005-12-31 at 09:04 +1100, Voytek Eymont wrote:

> more pertinent is that my ntpd is not really keeping my clock updated

ntp is network time protocol.  It keeps UTC in sync not daylight savings
which is offset from UTC.

ntpd will only reset the clock by a few microseconds.  you start this
with ntpdate  which will force the update then ntpd will keep
this on track.  You might want this in oyur boot sequence like ubuntu
does.

Ta
Ken

-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Timezone/Daylight savings query.

2005-12-30 Thread Voytek Eymont

On Sat, December 31, 2005 12:18 pm, Ken Foskey wrote:
> On Sat, 2005-12-31 at 09:04 +1100, Voytek Eymont wrote:

> ntp is network time protocol.  It keeps UTC in sync not daylight savings
> which is offset from UTC.
>
> ntpd will only reset the clock by a few microseconds.  you start this with
> ntpdate  which will force the update then ntpd will keep this on
> track.  You might want this in oyur boot sequence like ubuntu does.


thanks, Ken

# service ntpd stop
Shutting down ntpd:[  OK  ]
# ntpdate clock.redhat.com
31 Dec 13:12:42 ntpdate[31319]: no server suitable for synchronization found
# ntpdate clock2.redhat.com
31 Dec 13:12:58 ntpdate[31326]: no server suitable for synchronization found
# ntpdate augean.eleceng.adelaide.edu.au
31 Dec 13:13:43 ntpdate[31343]: no server suitable for synchronization found
# ntpdate ntp.syd.connect.com.au


I'm still not getting it, must've something wrong
-- 
Voytek

-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Timezone/Daylight savings query.

2005-12-30 Thread Howard Lowndes
The last time the time zone changed was for the SY Olympics and a new 
modified zone file was supplied (at least from RH).


With FC the ntpd daemon handles the time adjustment at boot and if there 
is a /etc/ntp/step-tickers file with a ntpd server in it then a sync 
gets done to that server as part of starting the ntpd daemon.


At the moment, according to the zone files, DST ends on Apr 2 in all 
states that have DST, which strikes me as being a week later than normal.


Ken Foskey wrote:

On Sat, 2005-12-31 at 09:04 +1100, Voytek Eymont wrote:



more pertinent is that my ntpd is not really keeping my clock updated



ntp is network time protocol.  It keeps UTC in sync not daylight savings
which is offset from UTC.

ntpd will only reset the clock by a few microseconds.  you start this
with ntpdate  which will force the update then ntpd will keep
this on track.  You might want this in oyur boot sequence like ubuntu
does.

Ta
Ken



--
Howard.
LANNet Computing Associates - Your Linux people 
When you want a computer system that works, just choose Linux;
When you want a computer system that works, just, choose Microsoft.
--
Flatter government, not fatter government; abolish the Australian states.

--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Timezone/Daylight savings query.

2005-12-30 Thread Howard Lowndes

firewall...?  check for udp/123

Voytek Eymont wrote:

On Sat, December 31, 2005 12:18 pm, Ken Foskey wrote:


On Sat, 2005-12-31 at 09:04 +1100, Voytek Eymont wrote:




ntp is network time protocol.  It keeps UTC in sync not daylight savings
which is offset from UTC.

ntpd will only reset the clock by a few microseconds.  you start this with
ntpdate  which will force the update then ntpd will keep this on
track.  You might want this in oyur boot sequence like ubuntu does.




thanks, Ken

# service ntpd stop
Shutting down ntpd:[  OK  ]
# ntpdate clock.redhat.com
31 Dec 13:12:42 ntpdate[31319]: no server suitable for synchronization found
# ntpdate clock2.redhat.com
31 Dec 13:12:58 ntpdate[31326]: no server suitable for synchronization found
# ntpdate augean.eleceng.adelaide.edu.au
31 Dec 13:13:43 ntpdate[31343]: no server suitable for synchronization found
# ntpdate ntp.syd.connect.com.au


I'm still not getting it, must've something wrong


--
Howard.
LANNet Computing Associates - Your Linux people 
When you want a computer system that works, just choose Linux;
When you want a computer system that works, just, choose Microsoft.
--
Flatter government, not fatter government; abolish the Australian states.

--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Timezone/Daylight savings query.

2005-12-30 Thread Chris Deigan
ntpdate -s au.pool.ntp.org

On 12/31/05, Voytek Eymont <[EMAIL PROTECTED]> wrote:
>
> On Sat, December 31, 2005 12:18 pm, Ken Foskey wrote:
> > On Sat, 2005-12-31 at 09:04 +1100, Voytek Eymont wrote:
>
> > ntp is network time protocol.  It keeps UTC in sync not daylight savings
> > which is offset from UTC.
> >
> > ntpd will only reset the clock by a few microseconds.  you start this with
> > ntpdate  which will force the update then ntpd will keep this on
> > track.  You might want this in oyur boot sequence like ubuntu does.
>
>
> thanks, Ken
>
> # service ntpd stop
> Shutting down ntpd:[  OK  ]
> # ntpdate clock.redhat.com
> 31 Dec 13:12:42 ntpdate[31319]: no server suitable for synchronization found
> # ntpdate clock2.redhat.com
> 31 Dec 13:12:58 ntpdate[31326]: no server suitable for synchronization found
> # ntpdate augean.eleceng.adelaide.edu.au
> 31 Dec 13:13:43 ntpdate[31343]: no server suitable for synchronization found
> # ntpdate ntp.syd.connect.com.au
>
>
> I'm still not getting it, must've something wrong
> --
> Voytek
>
> --
> SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
> Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
>


--
Cheers,
Chris.
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Re: [SLUG] Timezone/Daylight savings query.

2005-12-30 Thread Voytek Eymont

On Sat, December 31, 2005 1:46 pm, Chris Deigan wrote:
> ntpdate -s au.pool.ntp.org

thanks, Chris, yes, I rogot the '-s'


>
> On 12/31/05, Voytek Eymont <[EMAIL PROTECTED]> wrote:




-- 
Voytek

-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Timezone/Daylight savings query.

2005-12-30 Thread Voytek Eymont

On Sat, December 31, 2005 2:00 pm, Voytek Eymont wrote:
>

> On Sat, December 31, 2005 1:46 pm, Chris Deigan wrote:
>
>> ntpdate -s au.pool.ntp.org
>
> thanks, Chris, yes, I rogot the '-s'

oops, I'm still missing something, /var/log/messages has:

Dec 31 13:59:16 koala ntpdate[32449]: no server suitable for
synchronization found
Dec 31 13:59:36 koala ntpdate[32454]: no server suitable for
synchronization found



-- 
Voytek

-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Timezone/Daylight savings query.

2005-12-30 Thread Howard Lowndes

man ntpdate

try the -b and the -u options, the -s option merely changes where the 
logging happens.


-b forces the time to be altered instead of slewed
-u uses unpriv src ports, but I still think you should be checking your 
firewalling.



Voytek Eymont wrote:

On Sat, December 31, 2005 2:00 pm, Voytek Eymont wrote:



On Sat, December 31, 2005 1:46 pm, Chris Deigan wrote:



ntpdate -s au.pool.ntp.org


thanks, Chris, yes, I rogot the '-s'



oops, I'm still missing something, /var/log/messages has:

Dec 31 13:59:16 koala ntpdate[32449]: no server suitable for
synchronization found
Dec 31 13:59:36 koala ntpdate[32454]: no server suitable for
synchronization found





--
Howard.
LANNet Computing Associates - Your Linux people 
When you want a computer system that works, just choose Linux;
When you want a computer system that works, just, choose Microsoft.
--
Flatter government, not fatter government; abolish the Australian states.

--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Timezone/Daylight savings query.

2005-12-30 Thread Michael Fox
On 12/31/05, Howard Lowndes <[EMAIL PROTECTED]> wrote:
> At the moment, according to the zone files, DST ends on Apr 2 in all
> states that have DST, which strikes me as being a week later than normal.
>

How do I determine if the zonefile contains what? As its encoded?

Thanks
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Timezone/Daylight savings query.

2005-12-30 Thread Howard Lowndes

/usr/sbin/zdump -v Australia/NSW

On FC the files are in /usr/share/zoneinfo and subdirs

Michael Fox wrote:

On 12/31/05, Howard Lowndes <[EMAIL PROTECTED]> wrote:


At the moment, according to the zone files, DST ends on Apr 2 in all
states that have DST, which strikes me as being a week later than normal.




How do I determine if the zonefile contains what? As its encoded?

Thanks



--
Howard.
LANNet Computing Associates - Your Linux people 
When you want a computer system that works, just choose Linux;
When you want a computer system that works, just, choose Microsoft.
--
Flatter government, not fatter government; abolish the Australian states.

--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Timezone/Daylight savings query.

2005-12-30 Thread Michael Fox
On 12/31/05, Howard Lowndes <[EMAIL PROTECTED]> wrote:
> /usr/sbin/zdump -v Australia/NSW
>

Thanks, it looks like the zoneinfo files on my osx 10.4 machine don't
include that extra week, as I suspected.

Australia/NSW  Sat Mar 25 15:59:59 2006 UTC = Sun Mar 26 02:59:59 2006
EST isdst=1
Australia/NSW  Sat Mar 25 16:00:00 2006 UTC = Sun Mar 26 02:00:00 2006
EST isdst=0
Australia/NSW  Sat Oct 28 15:59:59 2006 UTC = Sun Oct 29 01:59:59 2006
EST isdst=0
Australia/NSW  Sat Oct 28 16:00:00 2006 UTC = Sun Oct 29 03:00:00 2006
EST isdst=1
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Timezone/Daylight savings query.

2005-12-30 Thread Howard Lowndes
Rather looks that way.  When did you last run an update?  I think it is 
part of the glibc package.  Here's the one off the latest FC4:


$ /usr/sbin/zdump -v Australia/NSW|grep 2006
Australia/NSW  Sat Apr  1 15:59:59 2006 UTC = Sun Apr  2 02:59:59 2006 
EST isdst=1 gmtoff=39600
Australia/NSW  Sat Apr  1 16:00:00 2006 UTC = Sun Apr  2 02:00:00 2006 
EST isdst=0 gmtoff=36000
Australia/NSW  Sat Oct 28 15:59:59 2006 UTC = Sun Oct 29 01:59:59 2006 
EST isdst=0 gmtoff=36000
Australia/NSW  Sat Oct 28 16:00:00 2006 UTC = Sun Oct 29 03:00:00 2006 
EST isdst=1 gmtoff=39600



Michael Fox wrote:

On 12/31/05, Howard Lowndes <[EMAIL PROTECTED]> wrote:


/usr/sbin/zdump -v Australia/NSW




Thanks, it looks like the zoneinfo files on my osx 10.4 machine don't
include that extra week, as I suspected.

Australia/NSW  Sat Mar 25 15:59:59 2006 UTC = Sun Mar 26 02:59:59 2006
EST isdst=1
Australia/NSW  Sat Mar 25 16:00:00 2006 UTC = Sun Mar 26 02:00:00 2006
EST isdst=0
Australia/NSW  Sat Oct 28 15:59:59 2006 UTC = Sun Oct 29 01:59:59 2006
EST isdst=0
Australia/NSW  Sat Oct 28 16:00:00 2006 UTC = Sun Oct 29 03:00:00 2006
EST isdst=1


--
Howard.
LANNet Computing Associates - Your Linux people 
When you want a computer system that works, just choose Linux;
When you want a computer system that works, just, choose Microsoft.
--
Flatter government, not fatter government; abolish the Australian states.

--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Timezone/Daylight savings query.

2005-12-31 Thread Christopher Vance

On Sat, Dec 31, 2005 at 05:05:25PM +1100, Michael Fox wrote:

How do I determine if the zonefile contains what? As its encoded?


man zdump

Not yet fixed in Ubuntu 5.10.

--
Christopher Vance
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Timezone/Daylight savings query.

2005-12-31 Thread Michael Fox
On 12/31/05, Christopher Vance <[EMAIL PROTECTED]> wrote:
> On Sat, Dec 31, 2005 at 05:05:25PM +1100, Michael Fox wrote:
> >How do I determine if the zonefile contains what? As its encoded?
>
> man zdump
>
> Not yet fixed in Ubuntu 5.10.

Yes my Ubuntu 5.10 box is also affected. (which is my mythtv backend currently)
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Timezone/Daylight savings query.

2005-12-31 Thread David Kempe

Christopher Vance wrote:

Not yet fixed in Ubuntu 5.10.



You can do the honors and lodge a bug here:

https://bugzilla.ubuntu.com/

thanks

dave
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Timezone/Daylight savings query.

2005-12-31 Thread Rob Sharp
On 12/31/05, Michael Fox <[EMAIL PROTECTED]> wrote:
> On 12/31/05, Christopher Vance <[EMAIL PROTECTED]> wrote:
> > On Sat, Dec 31, 2005 at 05:05:25PM +1100, Michael Fox wrote:
> > >How do I determine if the zonefile contains what? As its encoded?
> >
> > man zdump
> >
> > Not yet fixed in Ubuntu 5.10.
>
> Yes my Ubuntu 5.10 box is also affected. (which is my mythtv backend 
> currently)

The bug exists in Dapper, so filing a bug would be nice ;-)
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Re: [SLUG] Timezone/Daylight savings query.

2005-12-31 Thread Michael Fox
On 1/1/06, Rob Sharp <[EMAIL PROTECTED]> wrote:
> On 12/31/05, Michael Fox <[EMAIL PROTECTED]> wrote:
> > On 12/31/05, Christopher Vance <[EMAIL PROTECTED]> wrote:
> > > On Sat, Dec 31, 2005 at 05:05:25PM +1100, Michael Fox wrote:
> > > >How do I determine if the zonefile contains what? As its encoded?
> > >
> > > man zdump
> > >
> > > Not yet fixed in Ubuntu 5.10.
> >
> > Yes my Ubuntu 5.10 box is also affected. (which is my mythtv backend 
> > currently)
>
> The bug exists in Dapper, so filing a bug would be nice ;-)

If someone don't file it, then I will do it. I think I should also
look at getting apple notified too, although I think a friend will be
doing that. I will check with them.
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Timezone/Daylight savings query.

2006-01-01 Thread Voytek Eymont
my 'up-to-dated' RH73 falls in the former category, Mar 25/26

is there a way to hand correct that ?


On Sat, December 31, 2005 6:02 pm, Howard Lowndes wrote:
> Rather looks that way.  When did you last run an update?  I think it is
> part of the glibc package.  Here's the one off the latest FC4:
>
> $ /usr/sbin/zdump -v Australia/NSW|grep 2006
> Australia/NSW  Sat Apr  1 15:59:59 2006 UTC = Sun Apr  2 02:59:59 2006
> EST isdst=1 gmtoff=39600


>> Australia/NSW  Sat Mar 25 15:59:59 2006 UTC = Sun Mar 26 02:59:59 2006
>> EST isdst=1


-- 
Voytek

-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Timezone/Daylight savings query.

2006-01-01 Thread Howard Lowndes

man zic

to hand modify or try grabbing the tzdata package out of FC4 and see if 
it suits.


Voytek Eymont wrote:

my 'up-to-dated' RH73 falls in the former category, Mar 25/26

is there a way to hand correct that ?


On Sat, December 31, 2005 6:02 pm, Howard Lowndes wrote:


Rather looks that way.  When did you last run an update?  I think it is
part of the glibc package.  Here's the one off the latest FC4:

$ /usr/sbin/zdump -v Australia/NSW|grep 2006
Australia/NSW  Sat Apr  1 15:59:59 2006 UTC = Sun Apr  2 02:59:59 2006
EST isdst=1 gmtoff=39600





Australia/NSW  Sat Mar 25 15:59:59 2006 UTC = Sun Mar 26 02:59:59 2006
EST isdst=1






--
Howard.
LANNet Computing Associates - Your Linux people 
When you want a computer system that works, just choose Linux;
When you want a computer system that works, just, choose Microsoft.
--
Flatter government, not fatter government; abolish the Australian states.

--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Timezone/Daylight savings query.

2006-01-03 Thread Glen Turner

David Kempe wrote:

Christopher Vance wrote:


Not yet fixed in Ubuntu 5.10.



You can do the honors and lodge a bug here:

https://bugzilla.ubuntu.com/


It's probably an upstream issue.  The tzdata file
which distributions package is at
  ftp://elsie.nci.nih.gov/pub/
in the tzdata*.tar.gz files.

Proposed alterations should be e-mailed to
  tz at elsie dot nci dot hih dot gov
with a link to the authoritative source of the change
(in your case, to the regulation of the NSW government).

I've just downloaded the tzdata2005r.tar.gz file and it
says in part

# Rule  NAMEFROMTO  TYPEIN  ON  AT  SAVELETTER/S
...
RuleAN  2001max -   Oct lastSun 2:00s   1:00-
RuleAN  2006only-   Apr Sun>=1  2:00s   0   -
RuleAN  2007max -   Mar lastSun 2:00s   0   -

Which suggests to me that the daylight savings time change
for 2006 has already been incorporated.

Also note that there was a leap second this year. So your
NTP-based time will be 1s wrong if you have a tzdata earlier
than 2005k.

So drop in a bug with your distribution to update the tzdata
package from upstream.  I do wish that distros would
update the tzdata package immediately prior to issuing a
new version, but they seem to be needed to be prodded.

--
 Glen Turner Tel: (08) 8303 3936 or +61 8 8303 3936
 Australia's Academic & Research Network  www.aarnet.edu.au
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Timezone/Daylight savings query.

2006-01-19 Thread Angus Lees
At Wed, 04 Jan 2006 10:02:26 +1030, Glen Turner wrote:
> Also note that there was a leap second this year. So your
> NTP-based time will be 1s wrong if you have a tzdata earlier
> than 2005k.

From what I understand of things, Unix timezone data has nothing to do
with leap seconds.  NTP, on the other hand, does - so any NTP-based
system will correctly adjust for leap seconds (effectively shifting
the epoch by 1 second each time).

-- 
 - Gus.email.backlog
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html