From patchwork Tue Oct 27 18:23:19 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon South X-Patchwork-Id: 24830 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 13B2E27BBF3; Tue, 27 Oct 2020 18:55:44 +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 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 C329727BBF2 for ; Tue, 27 Oct 2020 18:55:43 +0000 (GMT) Received: from localhost ([::1]:55932 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kXU8E-0000xY-OK for patchwork@mira.cbaines.net; Tue, 27 Oct 2020 14:55:42 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:59764) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kXTiQ-0005Co-Ua for guix-patches@gnu.org; Tue, 27 Oct 2020 14:29:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:34257) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kXTiQ-00044t-LI for guix-patches@gnu.org; Tue, 27 Oct 2020 14:29:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kXTiQ-00060i-G6 for guix-patches@gnu.org; Tue, 27 Oct 2020 14:29:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#44260] [PATCH 1/1] services: knot-resolver: Replace deprecated command-line option. Resent-From: Simon South Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 27 Oct 2020 18:29:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 44260 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 44260@debbugs.gnu.org Cc: simon@simonsouth.net Received: via spool by 44260-submit@debbugs.gnu.org id=B44260.160382329423047 (code B ref 44260); Tue, 27 Oct 2020 18:29:02 +0000 Received: (at 44260) by debbugs.gnu.org; 27 Oct 2020 18:28:14 +0000 Received: from localhost ([127.0.0.1]:45803 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kXThd-0005zf-TS for submit@debbugs.gnu.org; Tue, 27 Oct 2020 14:28:14 -0400 Received: from mailout.easymail.ca ([64.68.200.34]:59332) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kXThd-0005zT-9V for 44260@debbugs.gnu.org; Tue, 27 Oct 2020 14:28:13 -0400 Received: from localhost (localhost [127.0.0.1]) by mailout.easymail.ca (Postfix) with ESMTP id 74CE32388A; Tue, 27 Oct 2020 18:28:07 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at emo06-pco.easydns.vpn Received: from mailout.easymail.ca ([127.0.0.1]) by localhost (emo06-pco.easydns.vpn [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ARqTo0d0d5Dj; Tue, 27 Oct 2020 18:28:07 +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 3C6752388C; Tue, 27 Oct 2020 18:28:04 +0000 (UTC) From: Simon South Date: Tue, 27 Oct 2020 14:23:19 -0400 Message-Id: <89820a76bacd52ff2435780355da90cf6da07c71.1603822404.git.simon@simonsouth.net> X-Mailer: git-send-email 2.25.2 In-Reply-To: References: MIME-Version: 1.0 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 silences a warning from the service at startup. * gnu/services/dns.scm (knot-resolver-shepherd-services)[start]: Use the "-n" command-line option to kresd in place of the deprecated "-f 1". --- gnu/services/dns.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gnu/services/dns.scm b/gnu/services/dns.scm index 572880561c..b339eb0619 100644 --- a/gnu/services/dns.scm +++ b/gnu/services/dns.scm @@ -700,7 +700,7 @@ cache.size = 100 * MB (documentation "Run the Knot Resolver daemon.") (start #~(make-forkexec-constructor '(#$(file-append package "/sbin/kresd") - "-c" #$kresd-config-file "-f" "1" + "-c" #$kresd-config-file "-n" "/var/cache/knot-resolver"))) (stop #~(make-kill-destructor))) (shepherd-service