diff --git a/debian/changelog b/debian/changelog index cb39ef40..9b749e4b 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,11 @@ +fail2ban (0.6.0-2) unstable; urgency=low + + * fail2ban path is inserted first in the list to avoid a conflict with + existing elsewhere modules with the same names. (Thanks for report and + patch to Nick Craig-Wood) (closes: #343821) + + -- Yaroslav Halchenko Mon, 19 Dec 2005 17:44:58 +0200 + fail2ban (0.6.0-1) unstable; urgency=low * Merged with the latest stable upstream release. That incure some diff --git a/fail2ban b/fail2ban index abb950c2..23992080 100755 --- a/fail2ban +++ b/fail2ban @@ -28,8 +28,9 @@ __license__ = "GPL" import sys, traceback, logging -# Appends our own modules path. -sys.path.append("/usr/share/fail2ban") +# Inserts our own modules path first in the list +# fix for bug #343821 +sys.path.insert(1, "/usr/share/fail2ban") # Now we can import our modules. import fail2ban