diff --git a/CHANGELOG b/CHANGELOG index 40b8c137..54bf066a 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -13,6 +13,9 @@ ver. 0.6.? (200?/??/??) - ??? enable this feature (-1 is perfect). Thanks to Mannone - Fixed locale bug. Thanks to Fernando José - Fixed crash when time format does not match data +- Propagated patch from Debian to fix fail2ban search path + addition to the path search list: now it is added first. + Thanks to Nick Craig-Wood ver. 0.6.0 (2005/11/20) - stable ---------- diff --git a/fail2ban b/fail2ban index 9b0d4866..5eace8bd 100755 --- a/fail2ban +++ b/fail2ban @@ -35,8 +35,9 @@ except Exception: print "Unable to set locale to " + `locale.getdefaultlocale()` sys.exit(-1) -# Appends our own modules path. -sys.path.append("/usr/lib/fail2ban") +# Inserts our own modules path first in the list +# fix for bug #343821 +sys.path.insert(1, "/usr/lib/fail2ban") # Now we can import our modules. import fail2ban