From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id +HGKKauF/F8fJgAA0tVLHw (envelope-from ) for ; Mon, 11 Jan 2021 17:06:51 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id KElpJauF/F91TQAA1q6Kng (envelope-from ) for ; Mon, 11 Jan 2021 17:06:51 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 2190C940503 for ; Mon, 11 Jan 2021 17:06:50 +0000 (UTC) Received: from localhost ([::1]:58516 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kz0eX-00066g-HX for larch@yhetil.org; Mon, 11 Jan 2021 12:06:49 -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 Content-Transfer-Encoding: 8bit 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+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: 2.65 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: 2190C940503 X-Spam-Score: 2.65 X-Migadu-Scanner: scn0.migadu.com X-TUID: TRoa/nSIYD8T 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(-) -- 2.29.2