summary refs log tree commit diff
path: root/gnu/installer
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2022-12-06 17:46:45 +0100
committerLudovic Courtès <ludo@gnu.org>2022-12-06 17:49:50 +0100
commita420b4f34e7449319f6ec73301ffb932845b66d6 (patch)
treeb6cd10f34e9d096bf08e952288f2e5a61cad5f6d /gnu/installer
parenta508b5c7785bcd040c5a9e890be71ccd97f198fb (diff)
downloadguix-a420b4f34e7449319f6ec73301ffb932845b66d6.tar.gz
services: fail2ban: Start server in the foreground.
Previously, we were passing '-b', thereby starting the server in the
background.  Consequently the 'start' method could complete before the
server was ready to accept connections on its socket, leading to
non-deterministic test failures.

Reported by Mathieu Othacehe <othacehe@gnu.org>.

* gnu/services/security.scm (fail2ban-shepherd-service): Change
FAIL2BAN-ACTION to invoke 'fail2ban-client'.
Change 'start' method to use 'make-forkexec-constructor'; start the
server in the foreground with '-f' and pass '-x' to force execution of
the server, as done upstream in 'fail2ban.service.in'.
Diffstat (limited to 'gnu/installer')
0 files changed, 0 insertions, 0 deletions