Public bug reported: fail2ban systemd service fails to start on Ubuntu 24.04 because python 3.12 no longer comes with bundled version of pyasynchat.
``` PYTHONNOUSERSITE=1 /usr/bin/fail2ban-server -xf start 2024-04-23 13:28:10,715 fail2ban.configreader [3819]: WARNING 'allowipv6' not defined in 'Definition'. Using default one: 'auto' 2024-04-23 13:28:10,726 fail2ban [3819]: ERROR No module named 'asynchat' ``` Upstream bug: https://github.com/fail2ban/fail2ban/issues/3487 Upstream fix: https://github.com/fail2ban/fail2ban/commit/1024452fe1befeb5a0a014386a81ec183cd45bb5 ProblemType: Bug DistroRelease: Ubuntu 24.04 Package: fail2ban 1.0.2-3 Uname: Linux 6.6.22-linuxkit aarch64 ApportVersion: 2.28.1-0ubuntu2 Architecture: arm64 CasperMD5CheckResult: unknown CloudBuildName: ubuntu-oci:minimized CloudSerial: 20240407.1 Date: Tue Apr 23 13:25:22 2024 PackageArchitecture: all ProcEnviron: PATH=(custom, no user) TERM=xterm SourcePackage: fail2ban UpgradeStatus: No upgrade log present (probably fresh install) ** Affects: fail2ban (Ubuntu) Importance: Undecided Status: New ** Tags: apport-bug arm64 cloud-image noble -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2063213 Title: fail2ban service fails to start To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/fail2ban/+bug/2063213/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs