The error is `ERROR No module named 'asynchat'`. This causes fail2ban failed to start on Ubuntu 24.04.
Module `asynchat` and `asyncore` have been removed since Python 3.12, so all Python applications which require `asynchat` and/or `asyncore` must either ship them internally, or ask users to install them manually.
The error is `ERROR No module named 'asynchat'`. This causes fail2ban failed to start on Ubuntu 24.04.
Module `asynchat` and `asyncore` have been removed since Python 3.12, so all Python applications which require `asynchat` and/or `asyncore` must either ship them internally, or ask users to install them manually.
- https:/ /pypi.org/ project/ pyasynchat/ /pypi.org/ project/ pyasyncore/
- https:/
These 2 packages are mentioned in Fail2ban README document: /github. com/fail2ban/ fail2ban/ blob/master/ README. md?plain= 1#L46
https:/
And Fail2ban-1.1.0 ships them internally: /github. com/fail2ban/ fail2ban/ tree/master/ fail2ban/ compat
https:/
Original bug report is all about "asynchat", but it's not yet fixed.