Fail2Ban fails after upgrading Proxmox 8 to 9

Oct 7, 2022
15
1
8
Fail2Ban fails after upgrading Proxmox 8 to 9

Hi,

After upgrading from Proxmox 8 to 9, I noticed that Fail2Ban was failing to start:

Code:
fail2ban-server[615]: ERROR Failed during configuration: Have not found any log file for selinux-ssh jail
systemd[1]: fail2ban.service: Main process exited, code=exited, status=255/EXCEPTION
systemd[1]: fail2ban.service: Failed with result 'exit-code'.

I corrected /etc/fail2ban/jail.local by disabling the jail:

Code:
[selinux-ssh]
enabled = false
Has anyone else encountered this after the upgrade? I’m unsure whether it is upgrade-related or left over from the previous configuration.

Henry