diff options
author | Ludovic Courtès <ludo@gnu.org> | 2022-12-06 17:46:45 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2022-12-06 17:49:50 +0100 |
commit | a420b4f34e7449319f6ec73301ffb932845b66d6 (patch) | |
tree | b6cd10f34e9d096bf08e952288f2e5a61cad5f6d /tests | |
parent | a508b5c7785bcd040c5a9e890be71ccd97f198fb (diff) |
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 'tests')
0 files changed, 0 insertions, 0 deletions