From owner-freebsd-questions@freebsd.org Tue May 17 05:32:59 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D53ACB3EFBB for ; Tue, 17 May 2016 05:32:59 +0000 (UTC) (envelope-from Andre.Albsmeier@siemens.com) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id BF9EA168A for ; Tue, 17 May 2016 05:32:59 +0000 (UTC) (envelope-from Andre.Albsmeier@siemens.com) Received: by mailman.ysv.freebsd.org (Postfix) id BEF3FB3EFBA; Tue, 17 May 2016 05:32:59 +0000 (UTC) Delivered-To: questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id BC5AAB3EFB9 for ; Tue, 17 May 2016 05:32:59 +0000 (UTC) (envelope-from Andre.Albsmeier@siemens.com) Received: from goliath.siemens.de (goliath.siemens.de [192.35.17.28]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "goliath.siemens.de", Issuer "savelogs.saacon.net" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 37A6B1685 for ; Tue, 17 May 2016 05:32:58 +0000 (UTC) (envelope-from Andre.Albsmeier@siemens.com) Received: from mail2.siemens.de (mail2.siemens.de [139.25.208.11]) by goliath.siemens.de (8.15.2/8.15.2) with ESMTPS id u4H5VP2R028761 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 17 May 2016 07:31:25 +0200 Received: from curry.mchp.siemens.de (curry.mchp.siemens.de [139.25.40.130]) by mail2.siemens.de (8.15.2/8.15.2) with ESMTP id u4H5VPwX010968; Tue, 17 May 2016 07:31:25 +0200 Received: (from user@localhost) by curry.mchp.siemens.de (8.15.2/8.15.2) id u4H5VP7B043876; Date: Tue, 17 May 2016 07:31:25 +0200 From: Andre Albsmeier To: Trond =?iso-8859-1?Q?Endrest=F8l?= Cc: Andre Albsmeier , questions@freebsd.org, Ernie Luzar Subject: Re: 10.3 base ntpd leap-seconds. list file expires 2016-06-01 Message-ID: <20160517053125.GA21546@bali> References: <5734FBDF.700@gmail.com> <20160513110143.GA99635@bali> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.5.24 (2015-08-30) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 May 2016 05:32:59 -0000 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