From owner-svn-src-head@freebsd.org Thu Aug 25 13:24:48 2016 Return-Path: Delivered-To: svn-src-head@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 BDCE0BC51BC; Thu, 25 Aug 2016 13:24:48 +0000 (UTC) (envelope-from cy.schubert@komquats.com) Received: from smtp-out-no.shaw.ca (smtp-out-no.shaw.ca [64.59.134.12]) (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 6D1281328; Thu, 25 Aug 2016 13:24:47 +0000 (UTC) (envelope-from cy.schubert@komquats.com) Received: from spqr.komquats.com ([96.50.22.10]) by shaw.ca with SMTP id cubhbYzCFXHJlcubibV0HI; Thu, 25 Aug 2016 07:22:11 -0600 X-Authority-Analysis: v=2.2 cv=Ffh1/926 c=1 sm=1 tr=0 a=jvE2nwUzI0ECrNeyr98KWA==:117 a=jvE2nwUzI0ECrNeyr98KWA==:17 a=L9H7d07YOLsA:10 a=9cW_t1CCXrUA:10 a=s5jvgZ67dGcA:10 a=7z1cN_iqozsA:10 a=6I5d2MoRAAAA:8 a=YxBL1-UpAAAA:8 a=rKOgsJhGMzdaqX_K7lYA:9 a=CjuIK1q_8ugA:10 a=IjZwj45LgO3ly-622nXo:22 a=Ia-lj3WSrqcvXOmTRaiG:22 Received: from slippy.cwsent.com (slippy [10.1.1.91]) by spqr.komquats.com (Postfix) with ESMTPS id 9E8D813754; Thu, 25 Aug 2016 06:22:09 -0700 (PDT) Received: from slippy (localhost [127.0.0.1]) by slippy.cwsent.com (8.15.2/8.15.2) with ESMTP id u7PDM9bA004245; Thu, 25 Aug 2016 06:22:09 -0700 (PDT) (envelope-from Cy.Schubert@cschubert.com) Message-Id: <201608251322.u7PDM9bA004245@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: Andrey Chernov cc: Cy Schubert , src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: Re: svn commit: r304781 - head/etc/rc.d In-Reply-To: Message from Andrey Chernov of "Thu, 25 Aug 2016 16:02:00 +0300." <3deee68f-3b30-8305-6985-422797f66fa0@freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 25 Aug 2016 06:22:09 -0700 X-CMAE-Envelope: MS4wfFzv/58WAMJxHJbOL7GsQvLNlPh6t+om7Tax7UpbtFV+piCjPy/mYmS9/RKLZyCAdKUlBkdxBLhmHmDSP/uziuo3qbMQmdhItwPBJQQuNDCUKiQoiLj/ w/Mjxsi+jtqLAawjnX2jn7sl82xZ+jcV837XxhsirFAxthVJVIpdWXad7LNBVvs3lbpHzR6e2aWL9sysZLRlRF7UMehfHItWThJQBb1jb2+ltmuBrSDcwKsr cHo73vaEy5SZdcqE4stNwC6Lw6ceUgzRIvX4lZq+WQzRCJScIwCf4wuZ/t0UQg4iDFtJ3opx68ra6ZtkLJIIUQ== X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Aug 2016 13:24:48 -0000 In message <3deee68f-3b30-8305-6985-422797f66fa0@freebsd.org>, Andrey Chernov w rites: > On 25.08.2016 5:58, Cy Schubert wrote: > > Author: cy > > Date: Thu Aug 25 02:58:41 2016 > > New Revision: 304781 > > URL: https://svnweb.freebsd.org/changeset/base/304781 > > > > Log: > > Add logic to replace the working ntp leap-seconds file in /var/db > > if it contains a $FreeBSD$ header. The header will cause the file > > to fail checksum of the hash causing ntpd to ignore the file. > > You don't need any logic, just remove $FreeBSD$ keyword from it. ntpd > can be called manually with this file too. Yes, it can be called manually too. The script copies /etc/ntp/leap-seconds to /var/db/ntpd.leap-seconds.list (if /etc/ntp/leap-seconds has a newer #$ [version number] or #@ [expiry] timestamps in it), before any other comparisons. There is potential. Having said that, it is a gratuitous step and could probably be removed. -- Cheers, Cy Schubert FreeBSD UNIX: Web: http://www.FreeBSD.org The need of the many outweighs the greed of the few.