diff options
author | Marius Bakke <marius@gnu.org> | 2022-09-01 23:26:57 +0200 |
---|---|---|
committer | Marius Bakke <marius@gnu.org> | 2022-09-01 23:26:57 +0200 |
commit | 58863b93b0d9a191d5cca695fe0a0dfbb067ebba (patch) | |
tree | 1ee1aba5905862aaee952689e59dd2d8a9e2fce6 /gnu/services | |
parent | 2e559a358582fd8f56a035d0fac97be229752dfb (diff) | |
parent | 0c518f974e64f23846ae51ea2c68b479202fdca9 (diff) | |
download | guix-58863b93b0d9a191d5cca695fe0a0dfbb067ebba.tar.gz |
Merge branch 'staging' into core-updates
Diffstat (limited to 'gnu/services')
-rw-r--r-- | gnu/services/security.scm | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/gnu/services/security.scm b/gnu/services/security.scm index 1e0360c07f..fd5bf19730 100644 --- a/gnu/services/security.scm +++ b/gnu/services/security.scm @@ -127,7 +127,7 @@ (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) @@ -194,13 +194,14 @@ (define-configuration fail2ban-jail-configuration (name string - "Required name of this jail configuration.") + "Required name of this jail configuration." + empty-serializer) (enabled? (boolean #t) "Whether this jail is enabled.") (backend maybe-symbol - "Backend to use to detect changes in the @code{ogpath}. The default is + "Backend to use to detect changes in the @code{log-path}. The default is 'auto. To consult the defaults of the jail configuration, refer to the @file{/etc/fail2ban/jail.conf} file of the @code{fail2ban} package." fail2ban-jail-configuration-serialize-backend) |