Skip to content

Commit

Permalink
dietpi-software: fail2ban: fix service start on Trixie
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaIng committed Feb 16, 2025
1 parent 8f9b958 commit 8b5ce7f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion dietpi/dietpi-software
Original file line number Diff line number Diff line change
Expand Up @@ -7186,7 +7186,10 @@ _EOF_
# Fix Dropbear filter for STDOUT logging since Bookworm: https://github.com/fail2ban/fail2ban/pull/3597
[[ -f '/etc/fail2ban/filter.d/dropbear.local' ]] || G_EXEC curl -sSf 'https://raw.githubusercontent.com/fail2ban/fail2ban/master/config/filter.d/dropbear.conf' -o /etc/fail2ban/filter.d/dropbear.local

G_AGI python3-systemd fail2ban
# Trixie: Temporarily install python3-setuptools explicitly, until the missing dependency has been added to the APT Package
local setuptools=()
(( $G_DISTRO == 8 )) && setuptools=('python3-setuptools')
G_AGI "${setuptools[@]}" python3-systemd fail2ban
Remove_SysV fail2ban 1

# Failsafe
Expand Down

0 comments on commit 8b5ce7f

Please sign in to comment.