mirror of https://github.com/fail2ban/fail2ban
Add Environment="PYTHONNOUSERSITE=yes" to the service file to avoid fail2ban to read /root/.local/. Thanks to Russell Coker for the investigation (Closes: #956177)
parent
d68fb00628
commit
a98e6cdd4d
|
@ -2,6 +2,9 @@ fail2ban (0.11.1-2) UNRELEASED; urgency=medium
|
|||
|
||||
* Do not rotate log if empty. Thanks to Ron Varburg for the patch
|
||||
(Closes: #956681)
|
||||
* Add Environment="PYTHONNOUSERSITE=yes" to the service file to avoid
|
||||
fail2ban to read /root/.local/. Thanks to Russell Coker for the
|
||||
investigation (Closes: #956177)
|
||||
|
||||
-- Sylvestre Ledru <sylvestre@debian.org> Tue, 14 Apr 2020 11:44:23 +0200
|
||||
|
||||
|
|
|
@ -0,0 +1,12 @@
|
|||
Index: fail2ban/files/fail2ban.service.in
|
||||
===================================================================
|
||||
--- fail2ban.orig/files/fail2ban.service.in
|
||||
+++ fail2ban/files/fail2ban.service.in
|
||||
@@ -15,6 +15,7 @@ ExecReload=@BINDIR@/fail2ban-client relo
|
||||
PIDFile=/run/fail2ban/fail2ban.pid
|
||||
Restart=on-failure
|
||||
RestartPreventExitStatus=0 255
|
||||
+Environment="PYTHONNOUSERSITE=yes"
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
|
@ -4,3 +4,4 @@ deb_manpages_reportbug
|
|||
0002-ENH-verify-that-use_stock_cfg-was-not-provided-while.patch
|
||||
deb_no_iptables_service
|
||||
python3-test-suite.diff
|
||||
no-python-user.diff
|
||||
|
|
Loading…
Reference in New Issue