From owner-freebsd-questions@freebsd.org Wed Jun 5 23:13:27 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 A4BA315BBF34 for ; Wed, 5 Jun 2019 23:13:27 +0000 (UTC) (envelope-from per@hedeland.org) Received: from outbound1g.eu.mailhop.org (outbound1g.eu.mailhop.org [52.28.6.212]) (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 7D5A471291 for ; Wed, 5 Jun 2019 23:13:25 +0000 (UTC) (envelope-from per@hedeland.org) ARC-Seal: i=1; a=rsa-sha256; t=1559775433; cv=none; d=outbound.mailhop.org; s=arc-outbound20181012; b=I+xQZQg3g1MML40L5eoGh+FZzU6dWPcR09+jXKs32ORZawTbi+pmC4HHw/VXYFwfD7bW1KGVDAg8M 4M/1QaVB5o4eJs/WlAyyLntPlJlk5ninC5di+6M6dcGW4FgPbHSOw0Ad0OquBY6E4L9ifWyhi5B9u8 r5O9vyxPvDPdBF9QTZmMBUqT5HglApJF7ntjkdDnb1S1z68QaNW4GVzqSRrVJW8NdQTRbVNjt+kQ3z Js2hE+h5VrV/DRkNbj5i6GOMn9nFQh3eCdre5npS7U8o9LcGWT8j8QJ6cBz03vl7ci7223frsjKP3A Hl1mrnSieOkAk3kc20z2owXbuQAi+8g== 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:references:to:subject:dkim-signature:from; bh=HZLFDKefBpE7TWAPVhc54redA/cRVFVPPRqpatenaGA=; b=QGN1Nkionrzc19H0UAUSXne68vvjJhX3ZolbE8zYYnC4kbbIDM5mgMhOKDRKZ2bCRQE1AjyLQ+qr3 +RKF4RdbPEk5JsjwYUNNtothclk/mcoazuJET+gA0CDXV9QGQFXVG5LewIOZT2aQ9uTCvO4BK0dEII A6VIBCOSSiMDEh83TKFlQKnt+iItr6AbJ+Cjpwws346tg13sDnd1QLgWzDnAxBaQhYUYhKzoGqJrJK cVNVyUpyFt1xtQpYaUcOGlh1+L4Xd9GdxNCoAqZ/w4I7FdaMWPyAj/6VG+4kTVTAdoICV4PQ8SRsqv iUJLKH3Gg6yHQIrQB0y3p9GGxR5YC5A== ARC-Authentication-Results: i=1; outbound3.eu.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:references:to:subject:from; bh=HZLFDKefBpE7TWAPVhc54redA/cRVFVPPRqpatenaGA=; b=nT7azr/S0I6e2Hif2SgzyP5JoTnqCS8gtxoB56nZ6NIPgSwYdtPKLwEsu6tOdAYlgTKd7fy9DrM3B x+8nba1mTMCeStroDFcbZf2g9ermed9QsePWMZrjjxEyFZikN11Xfdas5MvsFz+BswNIbiH7+PEDDK XuhO+SPc0va8xTxIi2/e2/533QRm9yMOzyEQsncjwk3bzvV3h3LFWXa9aZWiznTbgJufUoudrV+mZi dh8+k0v6kqSFNcobahCxEFg1U8ONVYDSz9Fmqq50Gf+hT4Qvdz6DDhys6mR5pa5cvSKY6XYvrGWPy2 +BaU8tfy7WCAH58KbP1nckzggXBePAw== X-MHO-RoutePath: cGVyaGVkZWxhbmQ= X-MHO-User: 406d37e7-87e5-11e9-91aa-b56e4e6b5865 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.eu.mailhop.org (Halon) with ESMTPSA id 406d37e7-87e5-11e9-91aa-b56e4e6b5865; Wed, 05 Jun 2019 22:57:11 +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 x55MvAJO036332 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO) for ; Thu, 6 Jun 2019 00:57:10 +0200 (CEST) (envelope-from per@hedeland.org) Subject: Re: ntpd configutration -- a small suggestion from the peanut gallery To: freebsd-questions@freebsd.org References: <53069.1559774060@segfault.tristatelogic.com> From: Per Hedeland Message-ID: Date: Thu, 6 Jun 2019 00:57:10 +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: <53069.1559774060@segfault.tristatelogic.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 7D5A471291 X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=outbound.mailhop.org header.s=dkim-high header.b=nT7azr/S X-Spamd-Result: default: False [-5.54 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; HAS_XOIP(0.00)[]; TO_DN_NONE(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[outbound.mailhop.org:+]; MX_GOOD(-0.01)[cached: hedeland.org]; NEURAL_HAM_SHORT(-0.99)[-0.994,0]; FROM_EQ_ENVFROM(0.00)[]; IP_SCORE(-1.24)[ipnet: 52.28.0.0/16(-4.80), asn: 16509(-1.34), country: US(-0.06)]; MIME_TRACE(0.00)[0:+]; RECEIVED_SPAMHAUS_PBL(0.00)[78.155.228.81.zen.spamhaus.org : 127.0.0.11]; ASN(0.00)[asn:16509, ipnet:52.28.0.0/16, country:US]; MID_RHS_MATCH_FROM(0.00)[]; ARC_ALLOW(-1.00)[i=1]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[outbound.mailhop.org:s=dkim-high]; 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]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; DMARC_NA(0.00)[hedeland.org]; RCPT_COUNT_ONE(0.00)[1]; RCVD_IN_DNSWL_NONE(0.00)[212.6.28.52.list.dnswl.org : 127.0.20.0]; R_SPF_NA(0.00)[]; RCVD_TLS_ALL(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 23:13:28 -0000 On 2019-06-06 00:34, Ronald F. Guilmette wrote: > > 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. True of course, but AFAIK the FreeBSD developers (like most OS distribution developers) are (understandably) not very keen on having local fixes to "contributed" software, at least when such fixes don't address FreeBSD-specific issues. This does seem to me to be a worthy case for an exception, though. > 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. You have my support.:-) --Per