From patchwork Mon Jan 11 17:02:34 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon South X-Patchwork-Id: 26318 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 0E46A27BC10; Mon, 11 Jan 2021 17:06:49 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 79A8027BC0F for ; Mon, 11 Jan 2021 17:06:48 +0000 (GMT) Received: from localhost ([::1]:58516 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kz0eT-00066g-TK for patchwork@mira.cbaines.net; Mon, 11 Jan 2021 12:06:46 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:48098) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kz0as-0004XY-Dw for guix-patches@gnu.org; Mon, 11 Jan 2021 12:03:04 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:46583) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kz0as-0004nu-7U for guix-patches@gnu.org; Mon, 11 Jan 2021 12:03:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kz0ar-0007wV-S4 for guix-patches@gnu.org; Mon, 11 Jan 2021 12:03:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#45794] [PATCH 0/1] services: openntpd: Remove support for deprecated "-s" option. Resent-From: Simon South Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 11 Jan 2021 17:03:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 45794 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 45794@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.161038456930511 (code B ref -1); Mon, 11 Jan 2021 17:03:01 +0000 Received: (at submit) by debbugs.gnu.org; 11 Jan 2021 17:02:49 +0000 Received: from localhost ([127.0.0.1]:58129 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kz0af-0007w3-GF for submit@debbugs.gnu.org; Mon, 11 Jan 2021 12:02:49 -0500 Received: from lists.gnu.org ([209.51.188.17]:49498) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kz0ac-0007vt-M5 for submit@debbugs.gnu.org; Mon, 11 Jan 2021 12:02:47 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:48032) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kz0ac-0004Tc-Eo for guix-patches@gnu.org; Mon, 11 Jan 2021 12:02:46 -0500 Received: from mailout.easymail.ca ([64.68.200.34]:44416) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kz0aZ-0004l1-0j for guix-patches@gnu.org; Mon, 11 Jan 2021 12:02:46 -0500 Received: from localhost (localhost [127.0.0.1]) by mailout.easymail.ca (Postfix) with ESMTP id B42BBC08E3 for ; Mon, 11 Jan 2021 17:02:39 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at emo04-pco.easydns.vpn Received: from mailout.easymail.ca ([127.0.0.1]) by localhost (emo04-pco.easydns.vpn [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id WmqCDqdZyG2x for ; Mon, 11 Jan 2021 17:02:39 +0000 (UTC) Received: from localhost.localdomain (unknown [108.162.141.195]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mailout.easymail.ca (Postfix) with ESMTPSA id 046B9C08DA for ; Mon, 11 Jan 2021 17:02:38 +0000 (UTC) From: Simon South Date: Mon, 11 Jan 2021 12:02:34 -0500 Message-Id: X-Mailer: git-send-email 2.29.2 MIME-Version: 1.0 Received-SPF: pass client-ip=64.68.200.34; envelope-from=simon@simonsouth.net; helo=mailout.easymail.ca X-Spam_score_int: -41 X-Spam_score: -4.2 X-Spam_bar: ---- X-Spam_report: (-4.2 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches This patch removes support for OpenNTPD's deprecated "-s" command-line option and the corresponding "allow-large-adjustment?" field from Guix's openntpd-configuration record type. Previously this option allowed OpenNTPD to make a single, arbitrarily large adjustment to the clock at startup. In the current release this option has been disabled[0] in favour of the use of authenticated constraints, and configuring a service with "(allow-large-adjustment? #t)" now causes this message to appear in /var/log/ntpd: -s option no longer works and will be removed soon. Please reconfigure to use constraints or trusted servers. For systems like the ROCK64 that lack a battery-backed clock, generally the solution is to replace the "allow-large-adjustment?" option with a setting like (constraint-from '("www.gnu.org")) which will give OpenNTPD an independent estimate of the current time and allow it to evaluate the trustworthiness of the configured NTP servers. [0] https://cvsweb.openbsd.org/src/usr.sbin/ntpd/ntpd.c?rev=1.127&content-type=text/x-cvsweb-markup --- Simon South simon@simonsouth.net Simon South (1): services: openntpd: Remove support for deprecated "-s" option. doc/guix.texi | 6 +----- gnu/services/networking.scm | 12 +++--------- tests/networking.scm | 3 +-- 3 files changed, 5 insertions(+), 16 deletions(-)