From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id cAvXG611yGbWiwAA62LTzQ:P1 (envelope-from ) for ; Fri, 23 Aug 2024 11:42:37 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id cAvXG611yGbWiwAA62LTzQ (envelope-from ) for ; Fri, 23 Aug 2024 13:42:37 +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=IQAEHMXB; dkim=fail ("headers rsa verify failed") header.d=autistici.org header.s=stigmate header.b=IojpX7MM; dmarc=pass (policy=none) header.from=gnu.org; 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1724413357; 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=ek828AQoNnFd4JeK1GnQmcYTQGgxW2ZRKA6e9pB6LpGEbhXR3nk3gLh1zzP5zkMSV13fxk MvXYrrONntAQJ+aPi3meMIm/GBZJKhCyezdYHGi87XWHW0lE5/i7w4JXIUj/NKhNbsA+tq QYlYSwxqyvBtssXJCSk5ICPsVRBUR89fPseRJ0m+B2ul7YQv0IDaT+1YmjFWQNAgduBjke uG5Uw4Q4tFAjb5Vf+fiZGRJr4zvSY3VVOtVuTl5ARJRz/a+vRU6keaDQvOERaxdyuTJIvI FQ/TA63w3T7BjkDpe0hj1vz+AZ5zxQHC4aU7otGyjouI9sMjekEXCI521/O5bQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1724413357; a=rsa-sha256; cv=none; b=WX0B7QLMF/1qm98u8qdZFC3imF3ZvxZpVZehvyP3ZPHSIwg5JXDd5HBSeF9yTmolUV5df1 EG4JXFELwM73aK//BSjmB6IMMeUpt538QoPMVsiQrRfGLjSa63dFiHCHrST6GoIY7yV9jU Q2gJ3rHnOr1bQVkf96mHx64bfJA4rVkAOtg277YpPeN7e2BdRYyDy1mYRabGHApf2VTOpb vcFPU6Xe8NXyvOS7HgL99lTPaZzee0nxwl+CxEz6G+67FGigKhFAjTOoxuF+AtEzQhLyGB a6Wg4xqJUKMTedEDgRPTskNpEONnYCKCCiuowGgjnoSCKcgn8/vM2SyqdVav8Q== 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=IQAEHMXB; dkim=fail ("headers rsa verify failed") header.d=autistici.org header.s=stigmate header.b=IojpX7MM; dmarc=pass (policy=none) header.from=gnu.org; 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" 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 51F1E74E49 for ; Fri, 23 Aug 2024 13:42:37 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1shSgQ-0005ut-8y; Fri, 23 Aug 2024 07:42:22 -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 1shSgK-0005u2-11 for guix-patches@gnu.org; Fri, 23 Aug 2024 07:42:16 -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 1shSgJ-0001ac-OH for guix-patches@gnu.org; Fri, 23 Aug 2024 07:42:15 -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=IQAEHMXBqpiMybF+qe5Md4Hx05rZ/5ywa0FlUOizWW1Db4ExFqbpa4HBZC08itzsnHGNeWijf5IJOjMWkKE1yDlbRaNCICpPT/qo19ucg49K+imHi0d5/4pQp5FOWDbRduZ9LQpNnB6h2vFr8abWiWRI6+UlKrB92+qJZysNv7K56QpGcYIE4hIKNzAHVQL4ExELEbWsQsV/f5MaUdbIstpfdbl3UH+ukELh+EcUaWwiF3nq385yGtoUoGg1FHbHad+2m1y+Bwb8jHLYGT1/HNaCj/UVR/AJtpE9WXkkfTXUEqxh+0eb3zPN8MlXMxJaV8WzZNencaSU/tKu7IEtHg==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1shSh4-0005Jv-Pn for guix-patches@gnu.org; Fri, 23 Aug 2024 07:43:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#72740] [PATCH v3 3/4] services: iptables: Provide a default value. Resent-From: Giacomo Leidi Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 23 Aug 2024 11:43: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.172441333920373 (code B ref 72740); Fri, 23 Aug 2024 11:43:02 +0000 Received: (at 72740) by debbugs.gnu.org; 23 Aug 2024 11:42:19 +0000 Received: from localhost ([127.0.0.1]:39108 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1shSgN-0005IQ-Fq for submit@debbugs.gnu.org; Fri, 23 Aug 2024 07:42:19 -0400 Received: from confino.investici.org ([93.190.126.19]:29363) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1shSgJ-0005Ho-DD for 72740@debbugs.gnu.org; Fri, 23 Aug 2024 07:42:15 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=autistici.org; s=stigmate; t=1724413280; bh=YEE9mshXV/4KY9GTgv2LBkb4SrYcy5bZmlewtKPE6O4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=IojpX7MM8tdyTVJUdqgpf6IcSEsWXOM7H13kh4SD+uqWXGva7Eu8OMnphdhPWi+Oe e7K+rZtEDWCyaElHTpQJiyBheCaC6RQVxlKo+dJKMbl0ML7I/6IZXLS53qjAEwkWVT crxm1JTGbZGCFSrtsTwcQl1CKXxRWb84RIHdgs20= Received: from mx1.investici.org (unknown [127.0.0.1]) by confino.investici.org (Postfix) with ESMTP id 4Wqynr5234z11HW; Fri, 23 Aug 2024 11:41:20 +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 4Wqynr4G3Zz11GF; Fri, 23 Aug 2024 11:41:20 +0000 (UTC) Date: Fri, 23 Aug 2024 13:40:56 +0200 Message-ID: <8e8423f103140769e6cc40b022bd53567ba43541.1724413257.git.goodoldpaul@autistici.org> X-Mailer: git-send-email 2.45.2 In-Reply-To: <1af98aa934040d79301c290acd719a7710e09800.1724413257.git.goodoldpaul@autistici.org> References: <1af98aa934040d79301c290acd719a7710e09800.1724413257.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-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -3.58 X-Spam-Score: -3.58 X-Migadu-Queue-Id: 51F1E74E49 X-Migadu-Scanner: mx11.migadu.com X-TUID: PNs24RCFVibT 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