From owner-freebsd-questions@freebsd.org Fri May 13 15:27:21 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 7121EB39878 for ; Fri, 13 May 2016 15:27:21 +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 5B964107F for ; Fri, 13 May 2016 15:27:21 +0000 (UTC) (envelope-from Andre.Albsmeier@siemens.com) Received: by mailman.ysv.freebsd.org (Postfix) id 57488B39875; Fri, 13 May 2016 15:27:21 +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 56F44B39874 for ; Fri, 13 May 2016 15:27:21 +0000 (UTC) (envelope-from Andre.Albsmeier@siemens.com) Received: from thoth.sbs.de (thoth.sbs.de [192.35.17.2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "thoth.sbs.de", Issuer "savelogs.saacon.net" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id CF9B6107A for ; Fri, 13 May 2016 15:27:20 +0000 (UTC) (envelope-from Andre.Albsmeier@siemens.com) Received: from mail2.siemens.de (mail2.siemens.de [139.25.208.11]) by thoth.sbs.de (8.15.2/8.15.2) with ESMTPS id u4DFNhAA020950 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 13 May 2016 17:23:43 +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 u4DFNhOE004193; Fri, 13 May 2016 17:23:43 +0200 Received: (from user@localhost) by curry.mchp.siemens.de (8.15.2/8.15.2) id u4DFNha4030956; Date: Fri, 13 May 2016 17:23:43 +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: <20160513152343.GA2636@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: Fri, 13 May 2016 15:27:21 -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 I _think_ so. I've put the URL into rc.conf and we'll see... -Andre