emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#68393: closed ([PATCH] tests: security: Fix fail2ban-extension-test.


From: GNU bug Tracking System
Subject: bug#68393: closed ([PATCH] tests: security: Fix fail2ban-extension-test.)
Date: Fri, 12 Jan 2024 16:13:02 +0000

Your message dated Fri, 12 Jan 2024 17:12:37 +0100
with message-id <87jzoer0ne.fsf@gnu.org>
and subject line Re: [bug#68393] [PATCH] tests: security: Fix 
fail2ban-extension-test.
has caused the debbugs.gnu.org bug report #68393,
regarding [PATCH] tests: security: Fix fail2ban-extension-test.
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs@gnu.org.)


-- 
68393: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=68393
GNU Bug Tracking System
Contact help-debbugs@gnu.org with problems
--- Begin Message --- Subject: [PATCH] tests: security: Fix fail2ban-extension-test. Date: Fri, 12 Jan 2024 00:42:55 +0100
The openssh-service-type requires 'networking to be setup.  So add a
static-networking-service-type that provides it.

* gnu/tests/security.scm
(run-fail2ban-extension-test)[simple-operating-system]: Add
static-networking-service-type service.

Change-Id: I8d736cbf3fcaa54f86fbd60c52b3595b647731e2
---
 gnu/tests/security.scm | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/gnu/tests/security.scm b/gnu/tests/security.scm
index ca6c857899..93cbe4a977 100644
--- a/gnu/tests/security.scm
+++ b/gnu/tests/security.scm
@@ -20,6 +20,7 @@ (define-module (gnu tests security)
   #:use-module (guix gexp)
   #:use-module (gnu packages admin)
   #:use-module (gnu services)
+  #:use-module (gnu services base)
   #:use-module (gnu services security)
   #:use-module (gnu services ssh)
   #:use-module (gnu system)
@@ -176,7 +177,9 @@ (define run-fail2ban-extension-test
    (simple-operating-system
     (service (fail2ban-jail-service openssh-service-type 
(fail2ban-jail-configuration
                                                           (name "sshd") 
(enabled? #t)))
-             (openssh-configuration)))
+             (openssh-configuration))
+    (service static-networking-service-type
+             (list %qemu-static-networking)))
 
    (test-equal "fail2ban sshd jail running status output"
      '("Status for the jail: sshd"

base-commit: 5c0f77f4241c9beac0c82deae946bfdc70b49ff0
-- 
2.41.0




--- End Message ---
--- Begin Message --- Subject: Re: [bug#68393] [PATCH] tests: security: Fix fail2ban-extension-test. Date: Fri, 12 Jan 2024 17:12:37 +0100 User-agent: Gnus/5.13 (Gnus v5.13)
> * gnu/tests/security.scm
> (run-fail2ban-extension-test)[simple-operating-system]: Add
> static-networking-service-type service.

Applied, thanks,

Mathieu


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]