Package: fail2ban / 0.10.2-2~bpo9+1

deb_no_iptables_service Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
From: Yaroslav Halchenko <debian@onerussian.com>
Subject: Remove all non-provided .service's within PartOf of fail2ban.service

  As reported and corroborated in the bug report, this causes inability
  of firewalld to restart.
  Correct solution would involve making systemd smarter and tune up
  of involved .service files.
  Since Debian ATM doesn't provide any of those ({ip{,6}tables,ipset}.service)
  files, it should be safe and generic enough to just prune them from PartOf

  Thanks  Joe Cooper <swelljoe@gmail.com> and Sunil Mohan Adapa <sunil@medhas.org>
  for the reports and nagging ;)

Origin: Fedora, Debian
Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=871993
Last-Update: 2018-04-04

--- a/files/fail2ban.service.in
+++ b/files/fail2ban.service.in
@@ -2,7 +2,7 @@
 Description=Fail2Ban Service
 Documentation=man:fail2ban(1)
 After=network.target iptables.service firewalld.service ip6tables.service ipset.service
-PartOf=iptables.service firewalld.service ip6tables.service ipset.service
+PartOf=firewalld.service
 
 [Service]
 Type=simple