From owner-freebsd-questions@freebsd.org Wed Jun 5 22:34:23 2019 Return-Path: Delivered-To: freebsd-questions@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 5583615BB1A0 for ; Wed, 5 Jun 2019 22:34:23 +0000 (UTC) (envelope-from rfg@tristatelogic.com) Received: from outgoing.tristatelogic.com (segfault.tristatelogic.com [69.62.255.118]) by mx1.freebsd.org (Postfix) with ESMTP id 112A26FCDE for ; Wed, 5 Jun 2019 22:34:21 +0000 (UTC) (envelope-from rfg@tristatelogic.com) Received: from segfault-nmh-helo.tristatelogic.com (localhost [127.0.0.1]) by segfault.tristatelogic.com (Postfix) with ESMTP id 678C13AEFE for ; Wed, 5 Jun 2019 15:34:20 -0700 (PDT) From: "Ronald F. Guilmette" To: freebsd-questions@freebsd.org Subject: Re: ntpd configutration -- a small suggestion from the peanut gallery In-Reply-To: <11728008-40bb-4ff6-5a93-5ebf28ce4735@hedeland.org> Date: Wed, 05 Jun 2019 15:34:20 -0700 Message-ID: <53069.1559774060@segfault.tristatelogic.com> X-Rspamd-Queue-Id: 112A26FCDE X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org; spf=pass (mx1.freebsd.org: domain of rfg@tristatelogic.com designates 69.62.255.118 as permitted sender) smtp.mailfrom=rfg@tristatelogic.com X-Spamd-Result: default: False [-6.32 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; TO_DN_NONE(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; DMARC_NA(0.00)[tristatelogic.com]; MX_GOOD(-0.01)[cached: mx1.tristatelogic.com]; NEURAL_HAM_SHORT(-0.96)[-0.956,0]; IP_SCORE(-3.16)[ip: (-8.31), ipnet: 69.62.128.0/17(-4.16), asn: 14051(-3.25), country: US(-0.06)]; RCVD_NO_TLS_LAST(0.10)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:14051, ipnet:69.62.128.0/17, country:US]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Jun 2019 22:34:23 -0000 In message <11728008-40bb-4ff6-5a93-5ebf28ce4735@hedeland.org>, Per Hedeland wrote: >> Yes. Here is the exact quote from the current man page for ntpd: >> >> -g, --panicgate >> Allow the first adjustment to be Big. This option may appear >an >> unlimited number of times. >> >> Normally, ntpd exits with a message to the system log if the >> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >> offset exceeds the panic threshold, which is 1000 s by default >. >> >> So either I need new glasses or else that part underlined above is just plai >n >> wrong. Because even after my ntpd died several times, I was unable to find >> -any- message telling me that ntpd had chosen suicide, let alone what the >> reasons for that might have been. At least not in /var/log/messages. > >I know that the underlined part *used to* be correct, since I have >seen those messages in the distant past (on FreeeBSD they would indeed >be in /var/log/messages, but that is OS-dependant). I don't remember >the exact wording though, and doing a quick test, I can confirm your >observation - nothing at all is logged by the ntpd version included in >FreeBSD 12.0-RELEASE when it commits suicide due to the offset >exceeding the panic threshold. So I guess the logging was lost at some >point. Thank you for confirming. so I now know that I am not crazy... or at least not *entirely* crazy. :-) >https://bugs.ntp.org/show_bug.cgi?id=1130 >https://bugs.ntp.org/show_bug.cgi?id=2410 > >Unfortunately the activity seen in those bug reports, including not >even applying a provided patch, is probably typical for the >maintenance of the "reference implementation" these days. Well, there is the reference code, and then there is the FreeBSD version thereof. Anyway, I already filed FreeBSD a PR on this: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=238352 I will now attach to that the links you provided also, and then just hope for the best. Regards, rfg