Package: fail2ban
X-Debbugs-Cc: guido.vanbrakel@outlook.com
Version: 1.0.2-2
Severity: important
Dear Maintainer,
* What led up to the situation? Installing fail2ban on Debian 12
* What exactly did you do (or not do) that was effective (or
ineffective)?
* What was the outcome of this action? Fail2ban fails to start
* What outcome did you expect instead? Fail2ban just starting without needing to
tags 1060386 + moreinfo thanks Hi there, You should provide some more information, like the error message when you manually launch `/usr/bin/fail2ban-server -vvv -x start`. Please note that on a default Debian 12.4/bookworm you simply need to add some lines to `jail.local`, without touching anything else: ``` [DEFAULT] ### <https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1049452#10> banaction = nftables banaction_allports = nftables[type=allports] ### <https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=770171#94> backend = systemd ``` Thx, bye, Gismo / Luca
Yeah but that shouldn't be needed like in previous distributions fail2ban should just start automatically after install the package
Dear Luca, I am aware of the fix you've provided, but like Stefaan had said, the package is supposed to work on a default Bookworm install -- it's how it works before the systemd switch, and indeed how it works in testing (Debian 13). Version 1.0.2-3 ended up in testing, but DID NOT find its way into stable. We should either seek to move that into stable, or seek to move the current working version in testing (1.1.0-4) -- with a more comprehensive systemd patch[0], into stable. [0]: https://sources.debian.org/patches/fail2ban/1.1.0-4/update_backend_system.diff/ Thanks, Mingye Wang (Artoria2e5)