From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id uDK5KXAlxWY+GAEAe85BDQ:P1 (envelope-from ) for ; Tue, 20 Aug 2024 23:23:28 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id uDK5KXAlxWY+GAEAe85BDQ (envelope-from ) for ; Wed, 21 Aug 2024 01:23:28 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=LCikkB3e; dkim=fail ("headers rsa verify failed") header.d=autistici.org header.s=stigmate header.b=M+VXZl5s; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1724196208; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=YEE9mshXV/4KY9GTgv2LBkb4SrYcy5bZmlewtKPE6O4=; b=t7m6LB7bsJBYEroyIUag4z3jpOFoEqjJ5Ctc08zIKALteF1f1mK152+0oBmIYPD6fmEwbN eehHckug7HNLe6v3FpfIe0p0f5GgXAd0LellwcHDFG8klmutdMFcK2st0pomwItCUg29xp ymO9E7AYdC1yOz+mU9alsxewIQnUcFQ/F3HjLNr9QvwXWF3Gkf87Rkw8AbI5sZqQ6LL5C6 aYDP30aNKMzB5CjXz85SOC7Qo6Fgz1E8V41kOp2u65KWY1xqbn1gWm09sj8CDz/kyC4JjP TnN+IcuhImG2rx0uU0MtSAWmFxZ+R5OPr7+YadykDKMCErizsFn/OxC1XK/MmQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=LCikkB3e; dkim=fail ("headers rsa verify failed") header.d=autistici.org header.s=stigmate header.b=M+VXZl5s; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org ARC-Seal: i=1; s=key1; d=yhetil.org; t=1724196208; a=rsa-sha256; cv=none; b=AbFYWsL21dTNg2i8bxqF+hIxGOWzQwuSe/8itq4ln2CVDIfsAcgqmvs8ndEuG2RlRSjuke sKi0h/n1gc5IAdTXO204yzo80/R2d4W/7jFvB4hG8GwOubIRuuN/l/edbdrdyGpBqpndDo w0tMffHJxq4C6Caw04QTF3J0+wiPJRLmSngJLH1FmFTB62WFs+pwrH0e5tgPvecUhiQnH4 S67Izi6lKL69PGt9L3qXC8O+UPuP8upKa9UlO6jCTZP1lMnk41igJP9Yi+SC001Rk22mXi gr20z1GqbMDACH2FPxP+qKAoeRVbmeIFju8iMPi5GHH28FY0OUMQF8UOGsANQg== 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 4309A6C08F for ; Wed, 21 Aug 2024 01:23:28 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sgYC9-0004Bn-98; Tue, 20 Aug 2024 19:23:21 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sgYC6-0004Ay-Uj for guix-patches@gnu.org; Tue, 20 Aug 2024 19:23:18 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sgYC6-0006xY-LM for guix-patches@gnu.org; Tue, 20 Aug 2024 19:23:18 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:References:In-Reply-To:Date:From:To:Subject; bh=YEE9mshXV/4KY9GTgv2LBkb4SrYcy5bZmlewtKPE6O4=; b=LCikkB3ex/o0GBW4eYlPZpEMvEefgfYF8CN/YWfpub/pHt8ovzYbIsY0qoeCcCMeAl7TQHnCyzjk/wox2sl9/q47jLCsWKHWU+WpimshiSkryWhZ0ohkkf/C1Dy5+vN8rszeWWSGsnXW6bj+sWYgJtJ6w25YjYydM/8C4Fw2ivrq8i6vDKAxMOr78A8nX1011qBEnxrkgY/OYoGV3XGu3UqCynU6Ya9rrlm9lakuQXsmOdDVEUHT+4dcroNmVC6vgtqbs0KAfiCPPxqZ4tDn8gECTyOljlBPEV9YisQinVQzcZ7xQygELKknoPfrv5dI3lZ+8XPw8F3xQ1bSKozXCA==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sgYCo-0001mB-8B for guix-patches@gnu.org; Tue, 20 Aug 2024 19:24:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#72740] [PATCH 3/4] services: iptables: Provide a default value. Resent-From: Giacomo Leidi Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 20 Aug 2024 23:24:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 72740 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: 72740@debbugs.gnu.org Cc: Giacomo Leidi Received: via spool by 72740-submit@debbugs.gnu.org id=B72740.17241961906730 (code B ref 72740); Tue, 20 Aug 2024 23:24:02 +0000 Received: (at 72740) by debbugs.gnu.org; 20 Aug 2024 23:23:10 +0000 Received: from localhost ([127.0.0.1]:34022 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sgYBy-0001kM-4f for submit@debbugs.gnu.org; Tue, 20 Aug 2024 19:23:10 -0400 Received: from confino.investici.org ([93.190.126.19]:61573) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sgYBv-0001kC-Sv for 72740@debbugs.gnu.org; Tue, 20 Aug 2024 19:23:08 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=autistici.org; s=stigmate; t=1724196136; bh=YEE9mshXV/4KY9GTgv2LBkb4SrYcy5bZmlewtKPE6O4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=M+VXZl5sloXfRV5nHO+nPITbK023tIeKqz7DNottB7qYB5/h53r9OGuvoLwGKwyKP 58MciNQsnFpIgrbo70wGV9eJIsy55wu/r0nlWKJgwUcXt7V8QRZLj9B4bEqtP9RabJ /OJyw2k7kCPXARyKAq8bbYtjrqC8rMKmUJVht4/c= Received: from mx1.investici.org (unknown [127.0.0.1]) by confino.investici.org (Postfix) with ESMTP id 4WpQV04XFgz10yj; Tue, 20 Aug 2024 23:22:16 +0000 (UTC) Received: from [93.190.126.19] (mx1.investici.org [93.190.126.19]) (Authenticated sender: goodoldpaul@autistici.org) by localhost (Postfix) with ESMTPSA id 4WpQV03pNnz10yR; Tue, 20 Aug 2024 23:22:16 +0000 (UTC) Date: Wed, 21 Aug 2024 01:21:44 +0200 Message-ID: X-Mailer: git-send-email 2.45.2 In-Reply-To: <7f30738a5f43710d33a7bc9dfdd913f4ca113525.1724196105.git.goodoldpaul@autistici.org> References: <7f30738a5f43710d33a7bc9dfdd913f4ca113525.1724196105.git.goodoldpaul@autistici.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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: , Reply-to: Giacomo Leidi X-ACL-Warn: , Giacomo Leidi via Guix-patches From: Giacomo Leidi via Guix-patches via Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Spam-Score: -5.07 X-Migadu-Queue-Id: 4309A6C08F X-Migadu-Scanner: mx10.migadu.com X-Migadu-Spam-Score: -5.07 X-TUID: /Yy6yPqD2A2k There doesn't seem to be a reason to force users to write (service iptables-service-type (iptables-configuration)) instead of simply (service iptables-service-type) This patch provides a default value for the iptables-service-type. * gnu/services/networking.scm (iptables-service-type): Set default-value. Change-Id: I93b6c544dfb064c7a0a999549dff61007a38f842 --- gnu/services/networking.scm | 1 + 1 file changed, 1 insertion(+) diff --git a/gnu/services/networking.scm b/gnu/services/networking.scm index 12d8934e43..c70fea7813 100644 --- a/gnu/services/networking.scm +++ b/gnu/services/networking.scm @@ -2055,6 +2055,7 @@ (define (iptables-shepherd-service config) (define iptables-service-type (service-type (name 'iptables) + (default-value (iptables-configuration)) (description "Run @command{iptables-restore}, setting up the specified rules.") (extensions -- 2.45.2