fail2ban service fails to start

Bug #2063213 reported by Grant Slater
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
fail2ban (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

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)

Revision history for this message
Grant Slater (firefishy) wrote :
Revision history for this message
Grant Slater (firefishy) wrote :
Changed in fail2ban (Ubuntu):
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.