Public bug reported: root@ubuntu-4gb-nbg1-2:~# apt install fail2ban Reading package lists... Done Building dependency tree... Done Reading state information... Done The following additional packages will be installed: python3-pyasyncore python3-pyinotify whois Suggested packages: mailx monit sqlite3 python-pyinotify-doc The following NEW packages will be installed: fail2ban python3-pyasyncore python3-pyinotify whois 0 upgraded, 4 newly installed, 0 to remove and 7 not upgraded. Need to get 496 kB of archives. After this operation, 2,572 kB of additional disk space will be used. Do you want to continue? [Y/n] Get:1 https://mirror.hetzner.com/ubuntu/packages noble/main amd64 python3-pyasyncore all 1.0.2-2 [10.1 kB] Get:2 https://mirror.hetzner.com/ubuntu/packages noble-updates/universe amd64 fail2ban all 1.0.2-3ubuntu0.1 [409 kB] Get:3 https://mirror.hetzner.com/ubuntu/packages noble/main amd64 python3-pyinotify all 0.9.6-2ubuntu1 [25.0 kB] Get:4 https://mirror.hetzner.com/ubuntu/packages noble/main amd64 whois amd64 5.5.22 [51.7 kB] Fetched 496 kB in 0s (5,762 kB/s) Selecting previously unselected package python3-pyasyncore. (Reading database ... 39769 files and directories currently installed.) Preparing to unpack .../python3-pyasyncore_1.0.2-2_all.deb ... Unpacking python3-pyasyncore (1.0.2-2) ... Selecting previously unselected package fail2ban. Preparing to unpack .../fail2ban_1.0.2-3ubuntu0.1_all.deb ... Unpacking fail2ban (1.0.2-3ubuntu0.1) ... Selecting previously unselected package python3-pyinotify. Preparing to unpack .../python3-pyinotify_0.9.6-2ubuntu1_all.deb ... Unpacking python3-pyinotify (0.9.6-2ubuntu1) ... Selecting previously unselected package whois. Preparing to unpack .../whois_5.5.22_amd64.deb ... Unpacking whois (5.5.22) ... Setting up whois (5.5.22) ... Setting up python3-pyasyncore (1.0.2-2) ... Setting up fail2ban (1.0.2-3ubuntu0.1) ... /usr/lib/python3/dist-packages/fail2ban/tests/fail2banregextestcase.py:224: SyntaxWarning: invalid escape sequence '\s' "1490349000 test failed.dns.ch", "^\s*test <F-ID>\S+</F-ID>" /usr/lib/python3/dist-packages/fail2ban/tests/fail2banregextestcase.py:435: SyntaxWarning: invalid escape sequence '\S' '^'+prefix+'<F-ID>User <F-USER>\S+</F-USER></F-ID> not allowed\n' /usr/lib/python3/dist-packages/fail2ban/tests/fail2banregextestcase.py:443: SyntaxWarning: invalid escape sequence '\S' '^'+prefix+'User <F-USER>\S+</F-USER> not allowed\n' /usr/lib/python3/dist-packages/fail2ban/tests/fail2banregextestcase.py:444: SyntaxWarning: invalid escape sequence '\d' '^'+prefix+'Received disconnect from <F-ID><ADDR> port \d+</F-ID>' /usr/lib/python3/dist-packages/fail2ban/tests/fail2banregextestcase.py:451: SyntaxWarning: invalid escape sequence '\s' _test_variants('common', prefix="\s*\S+ sshd\[<F-MLFID>\d+</F-MLFID>\]:\s+") /usr/lib/python3/dist-packages/fail2ban/tests/fail2banregextestcase.py:537: SyntaxWarning: invalid escape sequence '\[' 'common[prefregex="^svc\[<F-MLFID>\d+</F-MLFID>\] connect <F-CONTENT>.+</F-CONTENT>$"' /usr/lib/python3/dist-packages/fail2ban/tests/servertestcase.py:1375: SyntaxWarning: invalid escape sequence '\s' "`{ nft -a list chain inet f2b-table f2b-chain | grep -oP '@addr-set-j-w-nft-mp\s+.*\s+\Khandle\s+(\d+)$'; } | while read -r hdl; do`", /usr/lib/python3/dist-packages/fail2ban/tests/servertestcase.py:1378: SyntaxWarning: invalid escape sequence '\s' "`{ nft -a list chain inet f2b-table f2b-chain | grep -oP '@addr6-set-j-w-nft-mp\s+.*\s+\Khandle\s+(\d+)$'; } | while read -r hdl; do`", /usr/lib/python3/dist-packages/fail2ban/tests/servertestcase.py:1421: SyntaxWarning: invalid escape sequence '\s' "`{ nft -a list chain inet f2b-table f2b-chain | grep -oP '@addr-set-j-w-nft-ap\s+.*\s+\Khandle\s+(\d+)$'; } | while read -r hdl; do`", /usr/lib/python3/dist-packages/fail2ban/tests/servertestcase.py:1424: SyntaxWarning: invalid escape sequence '\s' "`{ nft -a list chain inet f2b-table f2b-chain | grep -oP '@addr6-set-j-w-nft-ap\s+.*\s+\Khandle\s+(\d+)$'; } | while read -r hdl; do`", Created symlink /etc/systemd/system/multi-user.target.wants/fail2ban.service → /usr/lib/systemd/system/fail2ban.service. Setting up python3-pyinotify (0.9.6-2ubuntu1) ... Processing triggers for man-db (2.12.0-4build2) ... Scanning processes... Scanning linux images...
Running kernel seems to be up-to-date. No services need to be restarted. No containers need to be restarted. No user sessions are running outdated binaries. No VM guests are running outdated hypervisor (qemu) binaries on this host. ProblemType: Bug DistroRelease: Ubuntu 24.04 Package: fail2ban 1.0.2-3ubuntu0.1 ProcVersionSignature: Ubuntu 6.8.0-50.51-generic 6.8.12 Uname: Linux 6.8.0-50-generic x86_64 ApportVersion: 2.28.1-0ubuntu3.1 Architecture: amd64 CasperMD5CheckResult: unknown CloudArchitecture: x86_64 CloudID: hetzner CloudName: hetzner CloudPlatform: hetzner CloudSubPlatform: metadata (http://169.254.169.254/hetzner/v1/metadata) Date: Sat Dec 14 16:17:01 2024 PackageArchitecture: all ProcEnviron: LANG=en_US.UTF-8 PATH=(custom, no user) SHELL=/bin/bash TERM=linux XDG_RUNTIME_DIR=<set> SourcePackage: fail2ban UpgradeStatus: No upgrade log present (probably fresh install) ** Affects: fail2ban (Ubuntu) Importance: Undecided Status: New ** Tags: amd64 apport-bug noble -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2091784 Title: SyntaxWarning: invalid escape sequence still in Ubuntu 24.0.1 LTS To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/fail2ban/+bug/2091784/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs