From owner-freebsd-questions@freebsd.org Mon Oct 24 19:43:11 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 39430C1FF62 for ; Mon, 24 Oct 2016 19:43:11 +0000 (UTC) (envelope-from cy.schubert@komquats.com) Received: from smtp-out-so.shaw.ca (smtp-out-so.shaw.ca [64.59.136.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "Client", Issuer "CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id CDCAC6B6; Mon, 24 Oct 2016 19:43:10 +0000 (UTC) (envelope-from cy.schubert@komquats.com) Received: from spqr.komquats.com ([96.50.22.10]) by shaw.ca with SMTP id yl6jb6xaiMSApyl6kbrOb2; Mon, 24 Oct 2016 13:40:32 -0600 X-Authority-Analysis: v=2.2 cv=A9QuBOeG c=1 sm=1 tr=0 a=jvE2nwUzI0ECrNeyr98KWA==:117 a=jvE2nwUzI0ECrNeyr98KWA==:17 a=L9H7d07YOLsA:10 a=9cW_t1CCXrUA:10 a=s5jvgZ67dGcA:10 a=CH0kA5CcgfcA:10 a=YxBL1-UpAAAA:8 a=6I5d2MoRAAAA:8 a=WF2pI21SAAAA:8 a=mKMgoSlXT7dCsisgZOMA:9 a=ZNPlIws8UJoFFgPC:21 a=wTWMNJ_msd2fQgc1:21 a=CjuIK1q_8ugA:10 a=Ia-lj3WSrqcvXOmTRaiG:22 a=IjZwj45LgO3ly-622nXo:22 a=sL4fyCNsUaJ9FitKA9PN:22 Received: from slippy.cwsent.com (slippy8 [10.2.2.6]) by spqr.komquats.com (Postfix) with ESMTPS id 2EA81B8E; Mon, 24 Oct 2016 12:40:27 -0700 (PDT) Received: from slippy (localhost [127.0.0.1]) by slippy.cwsent.com (8.15.2/8.15.2) with ESMTP id u9OJe9cS076144; Mon, 24 Oct 2016 12:40:09 -0700 (PDT) (envelope-from Cy.Schubert@cschubert.com) Message-Id: <201610241940.u9OJe9cS076144@slippy.cwsent.com> X-Mailer: exmh version 2.8.0 04/21/2012 with nmh-1.6 Reply-to: Cy Schubert From: Cy Schubert X-os: FreeBSD X-Sender: cy@cwsent.com X-URL: http://www.cschubert.com/ To: Matthew Seaman cc: cy@freebsd.org, freebsd-questions@freebsd.org Subject: Re: Fwd: Re: Typo in /etc/ntp/leap-seconds In-Reply-To: Message from Matthew Seaman of "Mon, 24 Oct 2016 17:07:05 +0100." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Mon, 24 Oct 2016 12:40:09 -0700 X-CMAE-Envelope: MS4wfDt/HWYf3EohcFcigje8ueU1fPaBAjqeL8sRFUm92lMkk1LRl4Kea1vlCE9/bHGC+WmMy0/Vg0Cbcd2HkcE/F89dZWCvDbmyQa35xdnvvaXcvYd5fCoH PxXtJd5+j/DphaAkruv55ScB2lRiP6UDzJLA8LZbxv8UuHy7slnzI7u8pu03PHnWge3pyLmdyo26xDvoEiWAtUFOfMpEkOL7bnBAPkpztgKmAqW+VpLjUit1 VfndLW6rKPmQBRiuIhK+zg== X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Oct 2016 19:43:11 -0000 Hi Matthew, The spelling error is sort-of "intentional." The file, base/head/etc/ntp/leap-seconds and descendants, was fetched from the USNO (US Naval Observatory) ftp site. Had I fetched the ISC version or the IETF version, the spelling error would not exist. Proactively answering the next anticipated question people might ask, what decides which file is fetched? Simply, of the leap-seconds files most recently updated, from USNO, ISC, and IETF, the file with the latest expiry date is the one chosen for commit into base. Some sources do not update their leap-seconds files if no leap second is announced. USNO always publishes a new leap-seconds file regardless of whether a leap second is or is not announced. The version fetched by the ntp rc script is the IETF version because the URL is the only one of the three to use http or https. USNO and ISC post their files on FTP servers, which is not preferred. -- Cheers, Cy Schubert FreeBSD UNIX: Web: http://www.FreeBSD.org The need of the many outweighs the greed of the few. In message , Matthew Seaman w rites: > This is an OpenPGP/MIME signed message (RFC 4880 and 3156) > --GpHD6XmS3Mi1SOq3rs1WVO0t5CIkSp2BU > Content-Type: multipart/mixed; boundary="nKVVlTKlulmgIV2DK3P4wFPHunv2DN7O1"; > protected-headers="v1" > From: Matthew Seaman > To: cy@freebsd.org > Message-ID: > Subject: Fwd: Re: Typo in /etc/ntp/leap-seconds > References: > In-Reply-To: > > --nKVVlTKlulmgIV2DK3P4wFPHunv2DN7O1 > Content-Type: text/plain; charset=windows-1252 > Content-Transfer-Encoding: quoted-printable > > > Hi, Cy, > > As the person who committed the leap-seconds support this might be of > interest to you. Well, maybe. It's a trivial spelling mistake in the > comments in /etc/ntp/leap-seconds > > Cheers, > > Matthew > > -------- Forwarded Message -------- > Subject: Re: Typo in /etc/ntp/leap-seconds > Date: Mon, 24 Oct 2016 17:02:07 +0100 > From: Matthew Seaman > To: freebsd-questions@freebsd.org > > On 2016/10/24 16:40, Dr. A. Haakh wrote: > > Hi, > >=20 > > the last change of leap-seconds introduced the following typo: > >=20 > > # > > -# 3. The current definition of the relationship between UTC > > +# 3. The current defintion of the relationship between UTC > > # and TAI dates from 1 January 1972. A number of different > > =20 > > Yes, correct: the misspelling does exist in /etc/ntp/leap-seconds, (even > in 11.0-STABLE), but your patch is reversed. > > The spelling error is already fixed in /var/db/ntpd.leap-seconds which > is what the OS uses by default and is pulled down from the net by a > periodic job. > > Cheers, > > Matthew