From owner-freebsd-questions@freebsd.org Fri May 13 13:57:40 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 06640B3A3CE for ; Fri, 13 May 2016 13:57:40 +0000 (UTC) (envelope-from luzar722@gmail.com) Received: from mailman.ysv.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id D8E091D8D for ; Fri, 13 May 2016 13:57:39 +0000 (UTC) (envelope-from luzar722@gmail.com) Received: by mailman.ysv.freebsd.org (Postfix) id D47CCB3A3CD; Fri, 13 May 2016 13:57:39 +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 D4210B3A3CC for ; Fri, 13 May 2016 13:57:39 +0000 (UTC) (envelope-from luzar722@gmail.com) Received: from mail-io0-x235.google.com (mail-io0-x235.google.com [IPv6:2607:f8b0:4001:c06::235]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 9C6B91D8C for ; Fri, 13 May 2016 13:57:39 +0000 (UTC) (envelope-from luzar722@gmail.com) Received: by mail-io0-x235.google.com with SMTP id 190so133569364iow.1 for ; Fri, 13 May 2016 06:57:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-transfer-encoding; bh=GbKfq1IzY8C6uJBEdrNSwl3JVS4PCi/jE/RJHPyRZVo=; b=KN0gZiPlWYiqPCisikemmIMfBZh2t9lATFoY4Gq6fMhX/kzl9nkG3kiZP8rGolrxrA bQnkFEefcNc2fELqXjBh8Q4f7+WL3ZmiYJ5I5HE/1qBeMqvoyJnF9ShEBqUNorH2ESZR SoYYhFy+KMsTZqNhPRGrHif6To+6lN/XKixU54OgnvIJd4s54d/tt7ZY2HB7Jmqzv8EV XUAUsQ0OkfWiC2N0OaZAuPAMTpCWzQxMiQE9n0qt/buTtul992vv2fX8h8awBQjGiO0Q 5MwZrLskqHCe91C1zFSZqiwbl2mZkyZOUGaqugdwU0wywHrNTeTbUdf8eI2DgpdGfKjJ jqCA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to :cc:subject:references:in-reply-to:content-transfer-encoding; bh=GbKfq1IzY8C6uJBEdrNSwl3JVS4PCi/jE/RJHPyRZVo=; b=gktf0mIdKoVRCrCRgYDH2kNsxSCUbRAC1TJmrOLxzDikwOYR/UQ0iRwGeRT9h8t1fG zKtvN0sxaI6ymO3yE5GP/RJxu/ktnvbTrr6VbQrzPwr5aSXqr3xMurRoNzoduqOhSVio W/MHy6yXmxrm/xUcEA76DguKI8au7AgUhKwsnDQpzohV6H2TSyE2cctM6wEbPJg22No/ rDBdGG68I1ABUwcCW74n4X5U/4JjjvvuKvbthZDDqyi2+IeSP2Z6T0U+Y0khLnhUiqMV TL6DmJdKvpkKWac7tgWcH1s+Zy6ffgnOBOIaBe/vk6suAKzlsBBAXFrZj14w1+pAQrGT PNHw== X-Gm-Message-State: AOPr4FX5WzPJbkmhxJ4uKrWLbMfyWe6svqiHcDzyUEZi0sp+S/QHPn8ZhRO3p6eyJ6SXNQ== X-Received: by 10.36.64.8 with SMTP id n8mr1916339ita.21.1463147858938; Fri, 13 May 2016 06:57:38 -0700 (PDT) Received: from [10.0.10.3] (cpe-184-56-210-236.neo.res.rr.com. [184.56.210.236]) by smtp.googlemail.com with ESMTPSA id o187sm988531itd.21.2016.05.13.06.57.37 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 13 May 2016 06:57:38 -0700 (PDT) Message-ID: <5735DD5E.2020405@gmail.com> Date: Fri, 13 May 2016 09:57:50 -0400 From: Ernie Luzar User-Agent: Thunderbird 2.0.0.24 (Windows/20100228) MIME-Version: 1.0 To: =?ISO-8859-1?Q?Trond_Endrest=F8l?= CC: Andre Albsmeier , questions@freebsd.org Subject: Re: 10.3 base ntpd leap-seconds. list file expires 2016-06-01 References: <5734FBDF.700@gmail.com> <20160513110143.GA99635@bali> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit 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 13:57:40 -0000 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 > https://www.ietf.org/timezones/data/leap-seconds.list Just checked this file and it expires on 28 December 2016. service ntpd fetch downloads the same file as the base system has to begin with. I manually edited /var/db/ntpd.leap-seconds.list with the values from www.ietf.org/timezones/data/leap-seconds.list and did a service ntpd restart and the expire message did not show.