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/ - https://pypi.org/project/pyasyncore/ These 2 packages are mentioned in Fail2ban README document: https://github.com/fail2ban/fail2ban/blob/master/README.md?plain=1#L46 And Fail2ban-1.1.0 ships them internally: https://github.com/fail2ban/fail2ban/tree/master/fail2ban/compat Original bug report is all about "asynchat", but it's not yet fixed. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2055114 Title: fail2ban is broken in 24.04 Noble To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/fail2ban/+bug/2055114/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs