Today I updated from Tumbleweed 20220612 to 20220613. Apparently that changed the default version of python3 from python3.8 to python3.10: symbolic link /usr/bin/python3 now points to python3.10, where it used to point to python3.8.
This causes fail2ban to fail to start:
2022-06-26 19:31:37,636 fail2ban.server [1898]: INFO Starting Fail2ban v0.11.2
2022-06-26 19:31:37,637 fail2ban.observer [1898]: INFO Observer start...
2022-06-26 19:31:37,646 fail2ban.database [1898]: INFO Connected to fail2ban persistent database '/var/lib/fail2ban/fail2ban.sqlite3'
2022-06-26 19:31:37,648 fail2ban.jail [1898]: INFO Creating new jail 'sshd'
2022-06-26 19:31:37,769 fail2ban.jail [1898]: INFO Jail 'sshd' uses systemd {}
2022-06-26 19:31:37,772 fail2ban.jail [1898]: INFO Initiated 'systemd' backend
2022-06-26 19:31:37,775 fail2ban.filter [1898]: INFO maxLines: 1
2022-06-26 19:31:37,832 fail2ban.transmitter [1898]: WARNING Command <very very long line, removed> has failed. Received SystemError("PY_SSIZE_T_CLEAN macro must be defined for '#' formats")
2022-06-26 19:31:37,833 fail2ban [1898]: ERROR NOK: ("PY_SSIZE_T_CLEAN macro must be defined for '#' formats",)
Hi
You must be using tumbleweed-cli for your update, else your using zypper dup?
You are way behind the eight ball if only at 20220613, latest is 20220625 and eight snapshot releases between then, suggest you get to that and check again…