From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id SE1MHlOjxWZ9EgAA62LTzQ:P1 (envelope-from ) for ; Wed, 21 Aug 2024 08:20:35 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id SE1MHlOjxWZ9EgAA62LTzQ (envelope-from ) for ; Wed, 21 Aug 2024 10:20:35 +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=CnhpY2Pa; dkim=fail ("headers rsa verify failed") header.d=autistici.org header.s=stigmate header.b="f/RWhCDS"; 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=1724228435; 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=cfk0FTEF6J4iagA4XBL2KPbgYXDxvQWEo9ImVvy4bsjfuR62Yg3gy8R8Jzu774JVqxsa4V gPZKqy0vFQ8sSHrrzLlokIF163yvzdJ1uko3pn2vuOpoytPrGB0hSFr0Lzz+tVwRjfEOIk hV7x7x2xXfg/kbXR1ubjVsJUtrqbZll9b34KXwaAppCr6N9UNu9GgFDuVKdB5Lf4zxsKcr Zbzh9ott0I31hFjpGL5ZrZmpGgN/i8UNPyNTRV0ukVe1xEFei8ERlxOgLQqDriUIbY6wRb sEa32EYtMAxW2h7A670psRDaBU9FTOAAC7x/gbcHj4ae+oy+YBMMWNxFe0CYXQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1724228435; a=rsa-sha256; cv=none; b=kDFCBG+0LKj9MGRkcTnqD+KKx+XUjjJEhk8UlKWifFiZs/ATIJiQaAFqRITUt4Y+oerX25 NDvL3KE57MzawuRnnP2Ol7qHjHTtLpwtJ/85B4oKQi00Uvj0/nr+XwsPOMb+13qBH6+9by J3DmkrKaz1Zg02GVDn+yUaiKmV/v4dcyE9y397KxqNg9y5yWPV/+aA/tOnjr0wrKn2t4sT tQcV3a1Fo29yeQ7qsnYY1BI9+TtlD3C3/DsIAuioW/ym+0L4s+DhwwqfU/W0i0uKtWiHuG 0B2ozeEXzcQ7PWYYmz+pMNVSQP5bD6Dah5SJdsZD23Mit4qDFePmHuqkM9PN9Q== 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=CnhpY2Pa; dkim=fail ("headers rsa verify failed") header.d=autistici.org header.s=stigmate header.b="f/RWhCDS"; 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 5651B6DE91 for ; Wed, 21 Aug 2024 10:20:35 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sggZr-0004Av-VR; Wed, 21 Aug 2024 04:20:23 -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 1sggZn-0004AU-SH for guix-patches@gnu.org; Wed, 21 Aug 2024 04:20:20 -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 1sggZn-0003H1-Il for guix-patches@gnu.org; Wed, 21 Aug 2024 04:20:19 -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=CnhpY2PatkQI7H3to/IaPbBR4bYOOnfr4R/nytl1opikuxaWr6PNoEHL/7/zJf5qbkbNM1kS8JvYOAh1FhqQOB8j+RsZDe0rzRlaDglJUQBHya+CZO9RC32KQRuoEb2ndYTQJTF2E1391vTMAMBQEBWXpAOYNXwV3fg+J+fssTjBIihbO0HQv6ucSoz/zSpcCdhafp6zpaEgvyxjPH5tVfTLQKhHNUD7NTUK/E9ilCwO7ZUzfvDfRBo5BOEqUYKxsR+dH0uG7a9+pDMJe0Msv84wfyjv/R02uEtSas0PZnxnuGYNkx0i9mJSXDkfgkzEoVsSNLhSW7Mmjod7SnAGSA==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sggaV-0001pt-Kh for guix-patches@gnu.org; Wed, 21 Aug 2024 04:21:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#72740] [PATCH v2 3/4] services: iptables: Provide a default value. Resent-From: Giacomo Leidi Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 21 Aug 2024 08:21:03 +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.17242284517001 (code B ref 72740); Wed, 21 Aug 2024 08:21:03 +0000 Received: (at 72740) by debbugs.gnu.org; 21 Aug 2024 08:20:51 +0000 Received: from localhost ([127.0.0.1]:34889 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sggaJ-0001ol-Aq for submit@debbugs.gnu.org; Wed, 21 Aug 2024 04:20:51 -0400 Received: from confino.investici.org ([93.190.126.19]:23189) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sggaH-0001oU-Ox for 72740@debbugs.gnu.org; Wed, 21 Aug 2024 04:20:50 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=autistici.org; s=stigmate; t=1724228397; bh=YEE9mshXV/4KY9GTgv2LBkb4SrYcy5bZmlewtKPE6O4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=f/RWhCDSWwwXrtE5FH78Q7+4y2SDaG+xzoiHEt+cfnDW9EI+iueYX+4BuWv31I/H2 0+awKeZcgOwQJqTOxCX8wY88sBs3knb2oaaonCcMxOCEOsPnzY/U0tydl5GMa5EMvB z4eOwCHZBW9P7nSZWsHNoRkndzrpm1kipRDFcL6M= Received: from mx1.investici.org (unknown [127.0.0.1]) by confino.investici.org (Postfix) with ESMTP id 4WpfQP63gTz110f; Wed, 21 Aug 2024 08:19:57 +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 4WpfQP5Kxpz110F; Wed, 21 Aug 2024 08:19:57 +0000 (UTC) Date: Wed, 21 Aug 2024 10:19:26 +0200 Message-ID: <20e290aba0c41223dfe2c3bb94e4f7d6398bb06f.1724228367.git.goodoldpaul@autistici.org> X-Mailer: git-send-email 2.45.2 In-Reply-To: <31446889c1e46a461dd4569dd154851357d6d82c.1724228367.git.goodoldpaul@autistici.org> References: <31446889c1e46a461dd4569dd154851357d6d82c.1724228367.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-Queue-Id: 5651B6DE91 X-Migadu-Scanner: mx12.migadu.com X-Migadu-Spam-Score: -6.58 X-Spam-Score: -6.58 X-TUID: lzydiLkR5gSx 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