Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 May 2016 07:31:25 +0200
From:      Andre Albsmeier <Andre.Albsmeier@siemens.com>
To:        Trond =?iso-8859-1?Q?Endrest=F8l?= <Trond.Endrestol@fagskolen.gjovik.no>
Cc:        Andre Albsmeier <Andre.Albsmeier@siemens.com>, questions@freebsd.org, Ernie Luzar <luzar722@gmail.com>
Subject:   Re: 10.3 base ntpd leap-seconds. list file expires 2016-06-01
Message-ID:  <20160517053125.GA21546@bali>
In-Reply-To: <alpine.BSF.2.20.1605131432300.1421@mail.fig.ol.no>
References:  <5734FBDF.700@gmail.com> <alpine.BSF.2.20.1605130802400.1421@mail.fig.ol.no> <20160513110143.GA99635@bali> <alpine.BSF.2.20.1605131432300.1421@mail.fig.ol.no>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
On Fri, 13-May-2016 at 14:36:01 +0200, Trond Endrestøl wrote:
> On Fri, 13 May 2016 13:01+0200, Andre Albsmeier wrote:
> 
> > On Fri, 13-May-2016 at 08:05:21 +0200, Trond Endrestøl wrote:
> > > On Thu, 12 May 2016 17:55-0400, Ernie Luzar wrote:
> > > 
> > > > New install of 10.3 from .iso file.
> > > > On every boot of system get ntpd message saying
> > > > /var/db/ntpd.leap-seconds.list file expires 2016-06-01.
> > > > 
> > > > I'm running the base version of ntpd, the one that
> > > > is included as part of the base system.
> > > > 
> > > > This file should have been updated before 10.3 release was
> > > > published to the public.
> > > > 
> > > > Where do I get the updated ntpd.leap-seconds.list file contents
> > > > to write to my /var/db/ntpd.leap-seconds.list file?
> > > 
> > > Add these lines to /etc/periodic.conf:
> > > 
> > > daily_ntpd_leapfile_enable="YES"
> > > daily_ntpd_avoid_congestion="YES"
> > 
> > Hmm, I did this on 9.3 a while ago.. The new file (fetched from
> > https://www.ietf.org/timezones/data/leap-seconds.list) has version
> > 
> > #$	 3629404800
> > 
> > and as expiry date:
> > 
> > #@	3691872000
> > 
> > The old file (the copy of /etc/ntp/leap-seconds in /var/db/ntpd.leap-seconds.list)
> > has as version:
> > 
> > #$       3660508800
> > 
> > and as expiry date:
> > 
> > #@      3673728000
> > 
> > So the new file expires after the old file (which is good) but
> > its version is lower than the version of the old file. Since
> > /etc/rc.d/ntpd compares the versions it finally sticks with the
> > old file...
> > 
> > 	-Andre
> 
> Would it make more sense to use 
> https://hpiers.obspm.fr/iers/bul/bulc/ntp/leap-seconds.list from the 
> Earth orientation Center of the IERS?
> 
> That file has currently the following characteristics:
> 
> #$	3661632000
> #	File expires on 28 December 2016
> #@	3691872000

As assumed, with this file all messages were gone. Probably
/etc/rc.d/ntpd should be changed to just check the expiry
consistently and don't look a the version at all...

	-Andre



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?20160517053125.GA21546>