SHA256
1
0
forked from pool/fail2ban

Accepting request 948093 from home:adkorte

- Fail2ban can't be PartOf ipset.service and nftables.service that
  conflict with firewalld.service (as it will prevent restarting the
  latter and which are not provided anymore)
  * fail2ban-opensuse-service.patch
  * harden_fail2ban.service.patch

OBS-URL: https://build.opensuse.org/request/show/948093
OBS-URL: https://build.opensuse.org/package/show/security/fail2ban?expand=0&rev=110
This commit is contained in:
Johannes Weberhofer 2022-01-26 07:56:20 +00:00 committed by Git OBS Bridge
parent 72cc9bc469
commit 04054064c9
4 changed files with 12 additions and 3 deletions

View File

@ -6,7 +6,7 @@ diff -ur fail2ban-0.11.2-orig/files/fail2ban.service.in fail2ban-0.11.2/files/fa
Documentation=man:fail2ban(1)
After=network.target iptables.service firewalld.service ip6tables.service ipset.service nftables.service
-PartOf=iptables.service firewalld.service ip6tables.service ipset.service nftables.service
+PartOf=firewalld.service ipset.service nftables.service
+PartOf=firewalld.service
[Service]
Type=simple

View File

@ -1,3 +1,12 @@
-------------------------------------------------------------------
Sat Jan 22 11:17:48 UTC 2022 - Arjen de Korte <suse+build@de-korte.org>
- Fail2ban can't be PartOf ipset.service and nftables.service that
conflict with firewalld.service (as it will prevent restarting the
latter and which are not provided anymore)
* fail2ban-opensuse-service.patch
* harden_fail2ban.service.patch
-------------------------------------------------------------------
Fri Nov 12 10:49:20 UTC 2021 - Johannes Weberhofer <jweberhofer@weberhofer.at>

View File

@ -1,7 +1,7 @@
#
# spec file for package fail2ban
#
# Copyright (c) 2021 SUSE LLC
# Copyright (c) 2022 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed

View File

@ -3,7 +3,7 @@ Index: fail2ban-0.11.2/files/fail2ban.service.in
--- fail2ban-0.11.2.orig/files/fail2ban.service.in
+++ fail2ban-0.11.2/files/fail2ban.service.in
@@ -5,6 +5,18 @@ After=network.target iptables.service fi
PartOf=firewalld.service ipset.service nftables.service
PartOf=firewalld.service
[Service]
+# added automatically, for details please see