From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id IAkANj2KDGM1WQEAbAwnHQ (envelope-from ) for ; Mon, 29 Aug 2022 11:43:25 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id OAMqNj2KDGMhAgAA9RJhRA (envelope-from ) for ; Mon, 29 Aug 2022 11:43:25 +0200 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 85264B471 for ; Mon, 29 Aug 2022 11:43:25 +0200 (CEST) Received: from localhost ([::1]:42446 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oSbIi-0006xG-6S for larch@yhetil.org; Mon, 29 Aug 2022 05:43:24 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:43034) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oSbIM-0006ue-LK for guix-patches@gnu.org; Mon, 29 Aug 2022 05:43:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:42183) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oSbIM-0001F9-CJ for guix-patches@gnu.org; Mon, 29 Aug 2022 05:43:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oSbIM-0006bB-7k for guix-patches@gnu.org; Mon, 29 Aug 2022 05:43:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#57473] [PATCH] gnu: fail2ban-service-type: Fix field name serialization. Resent-From: muradm Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 29 Aug 2022 09:43:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 57473 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 57473@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.166176614025314 (code B ref -1); Mon, 29 Aug 2022 09:43:02 +0000 Received: (at submit) by debbugs.gnu.org; 29 Aug 2022 09:42:20 +0000 Received: from localhost ([127.0.0.1]:60165 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oSbHb-0006a9-DZ for submit@debbugs.gnu.org; Mon, 29 Aug 2022 05:42:20 -0400 Received: from lists.gnu.org ([209.51.188.17]:57606) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oSbHZ-0006a0-Pz for submit@debbugs.gnu.org; Mon, 29 Aug 2022 05:42:14 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:34854) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oSbHZ-0006B5-JI for guix-patches@gnu.org; Mon, 29 Aug 2022 05:42:13 -0400 Received: from nomad-cl1.staging.muradm.net ([139.162.159.157]:54788 helo=nomad-cl1.muradm.net) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oSbHY-0001Ap-4c for guix-patches@gnu.org; Mon, 29 Aug 2022 05:42:13 -0400 Received: from localhost ([127.0.0.1]:41410) by nomad-cl1.muradm.net with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1oSbHS-0000G5-16 for guix-patches@gnu.org; Mon, 29 Aug 2022 09:42:06 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=muradm.net; s=mail; h=Content-Transfer-Encoding:MIME-Version:Message-Id:Date:Subject:To: From:Sender:Reply-To:Cc:Content-Type:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: In-Reply-To:References:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=fmzznEIOmI1EzRoiqKKfEiAMj1uZWiC4aLWMoVslhbY=; b=g8uwUbtbsvM0AOcTw3G9Y+8M3N qgilBuODhJu0n6PsbSzlI+quAm6C7dpgxdgv2HMChAK7bqNPDszGJrgBZMEhDmoK8ZOtQkqHaDId5 nqZ5Bn3wL2/cZa63IcrI/6wMy+0H32NvVL9F37i4n5iRUbJjvHFAdCJhICrSay2gH0oUTPcaOow4q +YneIJSDe1tvI7DMdfujhb4msQ6DxVcxLEAp5RzIx1gkyEjw05evLh5kobspVSxYBNfhosNZLAKvJ jGwpvgYD5g2PIoqaHKAf9d9IPQzuP6ZxYPxcAsfQDd5WrZJQgLJGhiDP3Kew9CNddyrbDVXU3jtZZ xQxsj6pJ4yWap+KNgO6tSp+i8iLe9dqXbdkmnnDw3UrlWB+4PMEf0t09GLrkq9qlXPhAWhFUpizpb rGD75o2lFFVzoDUQjsTjC45ladXoYjEgP1qouNatnTodjxo8nLxaILqFJnCK7HRPoPeywj92kofuL G/aNQc/BMQZaZ3G90Hjrvxjv; Received: from muradm by localhost with local (Exim 4.96) (envelope-from ) id 1oSbHR-00043f-2Z for guix-patches@gnu.org; Mon, 29 Aug 2022 12:42:05 +0300 From: muradm Date: Mon, 29 Aug 2022 12:42:05 +0300 Message-Id: <20220829094205.15595-1-mail@muradm.net> X-Mailer: git-send-email 2.37.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=139.162.159.157; envelope-from=mail@muradm.net; helo=nomad-cl1.muradm.net X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 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-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1661766205; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=fmzznEIOmI1EzRoiqKKfEiAMj1uZWiC4aLWMoVslhbY=; b=A24zRk7KDq9CmCWtIOcQaqtaVn921ePOkYWAAWMswS4xTE2n2kjyH920S7/hvbqtGNqoa9 v6GmeEy12FkgfK4iT9g+DTRhMptOUkbWqPJiT/rDWUQvCUGWgGtHl/gHbc8QqtHJlXs+to sLSO5d/cOY7BHFVokFGoo8tZkvWO4MVEDmIlMRr7QCRAdofskTDHWfeIzJfn+dAgzLkMJs OgH6sAqSzYCgmM0TFCoFTGxNR/1S0ZiZimGLAxSUuGwW1viHB7usunBtoMM34d66OFoEiG lxA11q4rXWhc2pYYQxl8TiVd3cmQQ6ejPpOUz6SkpecmHQNmQbmvkRukomwK9A== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1661766205; a=rsa-sha256; cv=none; b=mc7ZADDtydpudxIn92tEFQBLp0/KEH4fHO2PuvHuThIVhNDZ+GeTPPIalffm4v+XYbnvaW pN/jmblH6QzGb+nzqNseF7rgL6T0cLgotxjqktBAC5sWwTcTWel6+0CNVQ9u7ukTOIIlkn 1/ZVbJIDUlI6FnbTVjdrTHmjndbvifz/tNZk9r/iFMSJJF+uyJgUZaO0TLZzN2lGXPBagA NCRzbJNBQBFy5c/nfpISnz/tNNqAf8Ic7XhUt2Bs25U5Pc8RKwH2vmMdPNWKlTh8uOaT+R bbgkWcm4flEBtt91mQf5SgcMATD56UnsFK/WQzAFpeW8vhqbouD0dyd579WghQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=muradm.net header.s=mail header.b=g8uwUbtb; dmarc=none; 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" X-Migadu-Spam-Score: 2.50 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=muradm.net header.s=mail header.b=g8uwUbtb; dmarc=none; 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" X-Migadu-Queue-Id: 85264B471 X-Spam-Score: 2.50 X-Migadu-Scanner: scn0.migadu.com X-TUID: kKNDKbJbxSIj * gnu/services/security.scm: Wrong condition in string-filter function in fail2ban-jail-configuration-serialize-field-name. --- gnu/services/security.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gnu/services/security.scm b/gnu/services/security.scm index 1e0360c07f..9ab23ffb46 100644 --- a/gnu/services/security.scm +++ b/gnu/services/security.scm @@ -127,7 +127,7 @@ (define (fail2ban-jail-configuration-serialize-field-name name) (string-append "bantime." (substring name 9)))) ((string-contains name "-") (fail2ban-jail-configuration-serialize-field-name - (string-filter (lambda (c) (equal? c #\-)) name))) + (string-filter (lambda (c) (not (equal? c #\-))) name))) (else name))) (define (fail2ban-jail-configuration-serialize-string field-name value) -- 2.37.2