Package: fail2ban
Version: 1.1.0-7
Severity: normal

Hello,

Please considering bumping python3-setuptools from Recommends to Depends.
Without it, the default configuration fails to start:

    (journal)
    Jan 11 11:07:30 jubjub systemd[1]: Started fail2ban.service - Fail2Ban 
Service.
    Jan 11 11:07:30 jubjub fail2ban-server[3163989]: Server ready
    Jan 11 11:07:31 jubjub systemd[1]: fail2ban.service: Main process exited, 
code=exited, status=255/EXCEPTION
    Jan 11 11:07:31 jubjub systemd[1]: fail2ban.service: Failed with result 
'exit-code'.

    (fail2ban.log)
    2025-01-11 11:07:30,988 fail2ban.server         [3163989]: INFO    
--------------------------------------------------
    2025-01-11 11:07:30,989 fail2ban.server         [3163989]: INFO    Starting 
Fail2ban v1.1.0
    2025-01-11 11:07:30,989 fail2ban.observer       [3163989]: INFO    Observer 
start...
    2025-01-11 11:07:30,990 fail2ban.database       [3163989]: INFO    
Connected to fail2ban persistent database '/var/lib/fail2ban/fail2ban.sqlite3'
    2025-01-11 11:07:30,991 fail2ban.jail           [3163989]: INFO    Creating 
new jail 'sshd'
    2025-01-11 11:07:30,991 fail2ban.jail           [3163989]: ERROR   Backend 
'systemd' failed to initialize due to No module named 'distutils'
    2025-01-11 11:07:30,991 fail2ban.jail           [3163989]: ERROR   Failed 
to initialize any backend for Jail 'sshd'
    [snip]

-- System Information:
Debian Release: trixie/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 6.12.5-amd64 (SMP w/4 CPU threads; PREEMPT)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_AU:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages fail2ban depends on:
ii  python3          3.12.8-1
ii  python3-systemd  235-1+b5

Versions of packages fail2ban recommends:
ii  iptables            1.8.11-2
ii  nftables            1.1.1-1
pn  python3-pyinotify   <none>
ii  python3-setuptools  75.6.0-1
ii  whois               5.5.23

Versions of packages fail2ban suggests:
pn  mailx              <none>
pn  monit              <none>
pn  sqlite3            <none>
pn  system-log-daemon  <none>

-- no debconf information

Reply via email to