Open machetto opened 1 month ago
Thanks for opening your first issue here! Be sure to follow the relevant issue templates, or risk having this issue marked as invalid.
This issue has been automatically marked as stale because it has not had recent activity. This might be due to missing feedback from OP. It will be closed if no further activity occurs. Thank you for your contributions.
can confirm, same problem for me.
everything logs to systemd
and so no jails working
Is there an existing issue for this?
Current Behavior
If a jail's backend (sshd in my case) set to systemd, the following message appears:
ERROR Backend 'systemd' failed to initialize due to No module named 'systemd'
.The problems appears to be caused by not having
systemd
Python module in the Docker image.Expected Behavior
It should start monitoring sshd systemd logs.
Steps To Reproduce
Create a file
fail.d/sshd.local
with the following content:Restart
fail2ban
Environment
CPU architecture
x86-64
Docker creation
Container logs