As python 3.12 core does not longer ship with the distutils module in favor of using setuptools, the fail2ban-systemd backend shows the following error, if python3-setuptools is not installed: Backend 'systemd' failed to initialize due to No module named 'distutils' So I think, a dependency on python3-setuptools should be added to fail2ban-systemd as the error is not very convincing, if you don't know that the distutils module was dropped in python 3.12. Reproducible: Always Steps to Reproduce: 1. install fail2ban and fail2ban-systemd 2. ensure python3-setuptools is not installed 3. enable sshd jail 4. start fail2ban Actual Results: Error Backend 'systemd' failed to initialize due to No module named 'distutils' shows up in fail2ban.log Expected Results: fail2ban should work
Should distutils/setuptools be a run time dependency?
FEDORA-2024-bd519e6370 (fail2ban-1.1.0-5.fc40) has been submitted as an update to Fedora 40. https://bodhi.fedoraproject.org/updates/FEDORA-2024-bd519e6370
FEDORA-2024-6e75d8b28e (fail2ban-1.1.0-5.fc41) has been submitted as an update to Fedora 41. https://bodhi.fedoraproject.org/updates/FEDORA-2024-6e75d8b28e
FEDORA-2024-6e75d8b28e has been pushed to the Fedora 41 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2024-6e75d8b28e` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-6e75d8b28e See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-2024-bd519e6370 has been pushed to the Fedora 40 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2024-bd519e6370` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-bd519e6370 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-2024-bd519e6370 (fail2ban-1.1.0-5.fc40) has been pushed to the Fedora 40 stable repository. If problem still persists, please make note of it in this bug report.
FEDORA-2024-6e75d8b28e (fail2ban-1.1.0-5.fc41) has been pushed to the Fedora 41 stable repository. If problem still persists, please make note of it in this bug report.