From owner-freebsd-questions@freebsd.org Mon Oct 24 19:49:44 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 ED65FC20125 for ; Mon, 24 Oct 2016 19:49:44 +0000 (UTC) (envelope-from cy.schubert@komquats.com) Received: from smtp-out-no.shaw.ca (smtp-out-no.shaw.ca [64.59.134.13]) (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 700BE9B6; Mon, 24 Oct 2016 19:49:44 +0000 (UTC) (envelope-from cy.schubert@komquats.com) Received: from spqr.komquats.com ([96.50.22.10]) by shaw.ca with SMTP id ylFWbCqUJIjjwylFXb750x; Mon, 24 Oct 2016 13:49:37 -0600 X-Authority-Analysis: v=2.2 cv=dtuZMBo4 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=VxmjJ2MpAAAA:8 a=WF2pI21SAAAA:8 a=AxUzelVdP-_BlcyGZsEA:9 a=JYt-VPnSIzIuBrud:21 a=GccmNjKIdUBhgWOS:21 a=CjuIK1q_8ugA:10 a=Ia-lj3WSrqcvXOmTRaiG:22 a=IjZwj45LgO3ly-622nXo:22 a=7gXAzLPJhVmCkEl4_tsf:22 a=sL4fyCNsUaJ9FitKA9PN:22 Received: from slippy.cwsent.com (slippy8 [10.2.2.6]) by spqr.komquats.com (Postfix) with ESMTPS id 99EDBBA0; Mon, 24 Oct 2016 12:49:31 -0700 (PDT) Received: from slippy (localhost [127.0.0.1]) by slippy.cwsent.com (8.15.2/8.15.2) with ESMTP id u9OJn8oF015326; Mon, 24 Oct 2016 12:49:08 -0700 (PDT) (envelope-from Cy.Schubert@cschubert.com) Message-Id: <201610241949.u9OJn8oF015326@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: Cy Schubert cc: Matthew Seaman , cy@freebsd.org, freebsd-questions@freebsd.org Subject: Re: Fwd: Re: Typo in /etc/ntp/leap-seconds In-Reply-To: Message from Cy Schubert of "Mon, 24 Oct 2016 12:40:09 -0700." <201610241940.u9OJe9cS076144@slippy.cwsent.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Mon, 24 Oct 2016 12:49:08 -0700 X-CMAE-Envelope: MS4wfIWP9MAiqhyGjZ5dBWJLSLikH1s3Tr8cmNZG++pJYwiAZ0lO7gLwfjAHFblIv4Tbk1KQWUVk7kdXpsclIZNAaTkChzx0m8B+n1wpfy0UpGlM6mj1kwam 6mXKLEQgdgBq+bp6SO83DVyL+MtncRs+jwxTQw88JzWtYsYU/I2N79ZsWQY1xkQ7rYY+NMU7+g8u+wDmY36HYx1/1KVr6YIeyvnp68oomRCDcF8IcWjlC9eV Tu02dh0oGa+LJYCH1ceD7Q== 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:49:45 -0000 I should also mention that I have contacted USNO through their web form to advise them of the spelling error. I haven't received a reply. I will send an email to the general USNO email address next. I want to avoid local modifications to the file a much as possible because of its update frequency. -- Cheers, Cy Schubert FreeBSD UNIX: Web: http://www.FreeBSD.org The need of the many outweighs the greed of the few. In message <201610241940.u9OJe9cS076144@slippy.cwsent.com>, Cy Schubert writes: > 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 > >