From owner-freebsd-questions@freebsd.org Wed Jun 5 22:26:48 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 C40DA15BAD5B for ; Wed, 5 Jun 2019 22:26:48 +0000 (UTC) (envelope-from per@hedeland.org) Received: from outbound1p.ore.mailhop.org (outbound1p.ore.mailhop.org [54.149.210.130]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id CEB4A6F5E1 for ; Wed, 5 Jun 2019 22:26:46 +0000 (UTC) (envelope-from per@hedeland.org) ARC-Seal: i=1; a=rsa-sha256; t=1559772635; cv=none; d=outbound.mailhop.org; s=arc-outbound20181012; b=he4C/UsDqC87pV3bigwdDMynsQzjcEw41b0O+EDr26z+N+NU4hVxvwPC6DH/wzjMGmBtmVB2O/irC dAx2P7oiZNeTGEWGfKkrWChc4PnbMeGibtTeZWO16N5KrLgD430sH5VMT9axLFaowIsiUNqdwNiAj/ NS9ODbh2lsPYNMehim9poU/q6KHinwEH6ji/2FpoFxaLYULshUyZcCJ+LVEcWPWPSisKCPbef1kw1v /3MT1x1ABAfSJWcU/agMjZ7l7jZrzApVwwvqVyDB2zW8oUTJwCRnMX0b8Rioy+rGhTVz12SeDCalfp zhL39DXA8nG08sqKgR69PYrecM/09hw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=outbound.mailhop.org; s=arc-outbound20181012; h=content-transfer-encoding:content-type:in-reply-to:mime-version:date: message-id:from:cc:references:to:subject:dkim-signature:from; bh=NNfhZDijfOE+8STmwtRH6nasx+lI0GG5O4VHy4vbqGU=; b=M/7UPaF4Oi8dn1c/W47SZJkPUpmF51PNUTLzBzaO2x2z7Pi+oFpnEdE5Ez48Xr6OnKBRdzF6LZExX 3Kh51M2kUCvGb20oFIBZus8M6TF9JGjAeSwvuPpW0jdAGcobq4sdG+sAQ57RKABWHnCFBfZdtggf2q ee4nQxKB0KI+InUo9xMIgs0p7mj/ll5JcvrZVbkD3ZEEcWJ5yOlHDSySn3Gi3tyTcJAJvI1arplq4y OuYJb1519lXIbWro///W/HKoii0Nx7szxD5PBwg6zX3YcoTgUEuJoEyjaGp/VCJ5+W7Vr/eTNNSPn5 wIsb/JCSS+panZ/cBH8GKAtjRHlYCGA== ARC-Authentication-Results: i=1; outbound3.ore.mailhop.org; spf=none smtp.mailfrom=hedeland.org smtp.remote-ip=81.228.155.78; dmarc=none header.from=hedeland.org; arc=none header.oldest-pass=0; DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=outbound.mailhop.org; s=dkim-high; h=content-transfer-encoding:content-type:in-reply-to:mime-version:date: message-id:from:cc:references:to:subject:from; bh=NNfhZDijfOE+8STmwtRH6nasx+lI0GG5O4VHy4vbqGU=; b=u0DxSnWEZxaRN+bNPClsGERM85FfJKu6NgkXdpys7jgT4Z0c3w4TMsMs78S3M36mcMoR8ZkC9T6TG C6fps+141CUi9+Y5f77sl1B8uIxewO+xuY1yDM7Q7NBc5uz6VZ5m5w7W/r2V3ReAL/ltMe0i7Iri3Q IVFAniqrWTvzJCTJHo+nkYGw8PzeCO48HUbOa7iBc7FO6PSJ3Tph0wm37MpQK7rePE8MFqFndmyDOr h+3LtfwM3wdEK1yyVyivqB0mC+NVrnxIwDc6kXJ/lReuU+EaEMJNTP/SQzqJwwE8v6be6VO45HonTG 4h+r5pSJT9vDGWQ5A7RVz+cua9kBW+w== X-MHO-RoutePath: cGVyaGVkZWxhbmQ= X-MHO-User: bbcbc452-87de-11e9-990f-673a89bc4518 X-Report-Abuse-To: https://support.duocircle.com/support/solutions/articles/5000540958-duocircle-standard-smtp-abuse-information X-Originating-IP: 81.228.155.78 X-Mail-Handler: DuoCircle Outbound SMTP Received: from hedeland.org (unknown [81.228.155.78]) by outbound3.ore.mailhop.org (Halon) with ESMTPSA id bbcbc452-87de-11e9-990f-673a89bc4518; Wed, 05 Jun 2019 22:10:34 +0000 (UTC) Received: from pluto.hedeland.org (pluto.hedeland.org [10.1.1.5]) by tellus.hedeland.org (8.15.2/8.15.2) with ESMTPS id x55MAUxB035861 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO); Thu, 6 Jun 2019 00:10:30 +0200 (CEST) (envelope-from per@hedeland.org) Subject: Re: ntpd configutration -- a small suggestion from the peanut gallery To: "Ronald F. Guilmette" References: <52802.1559769936@segfault.tristatelogic.com> Cc: freebsd-questions@freebsd.org From: Per Hedeland Message-ID: <11728008-40bb-4ff6-5a93-5ebf28ce4735@hedeland.org> Date: Thu, 6 Jun 2019 00:10:30 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 MIME-Version: 1.0 In-Reply-To: <52802.1559769936@segfault.tristatelogic.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: CEB4A6F5E1 X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=outbound.mailhop.org header.s=dkim-high header.b=u0DxSnWE X-Spamd-Result: default: False [-5.39 / 15.00]; RCVD_TLS_ALL(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_DKIM_ALLOW(-0.20)[outbound.mailhop.org:s=dkim-high]; HAS_XOIP(0.00)[]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; IP_SCORE(-1.11)[ipnet: 54.148.0.0/15(-4.14), asn: 16509(-1.34), country: US(-0.06)]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[hedeland.org]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; RCVD_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[outbound.mailhop.org:+]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[130.210.149.54.list.dnswl.org : 127.0.20.0]; MX_GOOD(-0.01)[hedeland.org,mx2.mailhop.org]; R_SPF_NA(0.00)[]; NEURAL_HAM_SHORT(-0.97)[-0.972,0]; RECEIVED_SPAMHAUS_PBL(0.00)[78.155.228.81.zen.spamhaus.org : 127.0.0.11]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:16509, ipnet:54.148.0.0/15, country:US]; ARC_ALLOW(-1.00)[i=1]; MID_RHS_MATCH_FROM(0.00)[] 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:26:49 -0000 On 2019-06-05 23:25, Ronald F. Guilmette wrote: > > In message , > doug@fledge.watson.org wrote: > >>> Did I just miss those ntpd death messages somehow? >> >> I'm not sure. Somewhere in the ntp docs it says ntpd will not change the time if >> the offset is too large... > > 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 plain > 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. 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. --Per