fail2ban fails to start on 22.04 (cannot import name 'MutableMapping' from 'collections' py3.10)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
fail2ban (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
# systemctl status fail2ban
× fail2ban.service - Fail2Ban Service
Loaded: loaded (/lib/systemd/
Active: failed (Result: exit-code) since Thu 2022-01-20 09:29:39 CET; 4min 12s ago
Docs: man:fail2ban(1)
Process: 3211464 ExecStart=
Main PID: 3211464 (code=exited, status=
CPU: 174ms
Jan 20 09:29:39 wald3 systemd[1]: Started Fail2Ban Service.
Jan 20 09:29:39 wald3 fail2ban-
Jan 20 09:29:39 wald3 systemd[1]: fail2ban.service: Main process exited, code=exited, status=
Jan 20 09:29:39 wald3 systemd[1]: fail2ban.service: Failed with result 'exit-code'.
This is not a problem on Debian sid.
description: | updated |
summary: |
- fail2ban fails to start on 22.04 + fail2ban fails to start on 22.04 (cannot import name 'MutableMapping' + from 'collections' py3.10) |
tags: | added: jammy |
hotfix: `cd /usr/bin;ln -sf python3.9 /usr/bin/python3`