From owner-freebsd-stable@freebsd.org Tue Feb 5 21:17:09 2019 Return-Path: Delivered-To: freebsd-stable@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 7172014D0D08 for ; Tue, 5 Feb 2019 21:17:09 +0000 (UTC) (envelope-from eugen@grosbein.net) Received: from hz.grosbein.net (hz.grosbein.net [IPv6:2a01:4f8:d12:604::2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "hz.grosbein.net", Issuer "hz.grosbein.net" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 5F6836AEA7; Tue, 5 Feb 2019 21:17:08 +0000 (UTC) (envelope-from eugen@grosbein.net) Received: from eg.sd.rdtc.ru (eg.sd.rdtc.ru [IPv6:2a03:3100:c:13:0:0:0:5]) by hz.grosbein.net (8.15.2/8.15.2) with ESMTPS id x15LGsCM095098 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 5 Feb 2019 22:16:54 +0100 (CET) (envelope-from eugen@grosbein.net) X-Envelope-From: eugen@grosbein.net X-Envelope-To: ian@freebsd.org Received: from [10.58.0.4] ([10.58.0.4]) by eg.sd.rdtc.ru (8.15.2/8.15.2) with ESMTPS id x15LGrWM073261 (version=TLSv1.2 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT); Wed, 6 Feb 2019 04:16:53 +0700 (+07) (envelope-from eugen@grosbein.net) Subject: Re: [FreeBSD-Announce] FreeBSD Errata Notice FreeBSD-EN-19:05.kqueue To: Ian Lepore References: <20190109194030.DFE3A8CC7@freefall.freebsd.org> <20190205195416.5ddsmc4rf7og4ece@mutt-hbsd> <3954a6fd232be453e8632159892250cb3ae47d08.camel@freebsd.org> Cc: FreeBSD From: Eugene Grosbein Message-ID: <6aa7990c-ed7e-c849-d04b-4d144d167c67@grosbein.net> Date: Wed, 6 Feb 2019 04:16:44 +0700 User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 In-Reply-To: <3954a6fd232be453e8632159892250cb3ae47d08.camel@freebsd.org> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=0.3 required=5.0 tests=BAYES_00,LOCAL_FROM,SPF_PASS autolearn=no autolearn_force=no version=3.4.2 X-Spam-Report: * -2.3 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] * -0.0 SPF_PASS SPF: sender matches SPF record * 2.6 LOCAL_FROM From my domains X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on hz.grosbein.net X-Rspamd-Queue-Id: 5F6836AEA7 X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; spf=permerror (mx1.freebsd.org: domain of eugen@grosbein.net uses mechanism not recognized by this client) smtp.mailfrom=eugen@grosbein.net X-Spamd-Result: default: False [-3.97 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; MX_INVALID(0.50)[cached]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[grosbein.net]; RCVD_COUNT_THREE(0.00)[3]; IP_SCORE(-1.45)[ip: (-2.58), ipnet: 2a01:4f8::/29(-2.42), asn: 24940(-2.26), country: DE(-0.01)]; TO_DN_ALL(0.00)[]; R_SPF_PERMFAIL(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; NEURAL_HAM_SHORT(-0.92)[-0.915,0]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:24940, ipnet:2a01:4f8::/29, country:DE]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_ALL(0.00)[] X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Feb 2019 21:17:09 -0000 06.02.2019 3:55, Ian Lepore wrote: > So your problem was most likely the gps receiver making a bad choice > before it had enough info to make a good choice. It's one of many > reasons why an ntp server should have at least 3 (really, at least 5) > peers, so it can reject obviously-insane data from a single source. > Even when you use a gps to get really accurate local time, you should > have a handful of network peers that can serve as sanity-checkers. And I have and had that moment: driftfile /var/db/ntpd.drift server Time2.Stupi.SE iburst maxpoll 9 server ntp1.sp.se iburst maxpoll 9 server ntp1.mmo.netnod.se iburst maxpoll 9 server ntp1.ptb.de iburst maxpoll 9 server ntp1.ien.it iburst maxpoll 9 server ntp1.sth.netnod.se iburst maxpoll 9 server 127.127.1.0 fudge 127.127.1.0 stratum 10 # Had to comment out following 3 lines after the incident #tos mindist 0.015 #server 127.127.20.1 mode 1 iburst maxpoll 9 prefer #fudge 127.127.20.1 stratum 10 time1 0.000 time2 0.000 flag1 1 flag3 1 refid PPS pool 0.freebsd.pool.ntp.org iburst restrict -4 default kod notrap nomodify nopeer noquery restrict -6 default kod notrap nomodify nopeer noquery restrict 127.0.0.1 restrict ::1 leapfile "/var/db/ntpd.leap-seconds.list"