mirror of https://github.com/fail2ban/fail2ban
![]() Somehow on that elderly squeeze Debian sparc box, I got error that self.__notifier was not defined. So first I did define it now in the constructor, but mystery remains how come it was not defined -- wasn"t run() then run (where it is defined)? Anyways -- conditioning on it being defined might be safer may be? Not sure (need to go to sleep) if with this change but on this box I also run from time to time either into stalling of fail2ban-testcases and refusing to exit normally or ====================================================================== ERROR: test_move_into_file_after_removed (testcases.filtertestcase.MonitorFailures<FilterPyinotify>(/tmp/monitorfailures_FilterPyinotifypcHmMJfail2ban)) ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/yoh/deb/gits/fail2ban/testcases/filtertestcase.py", line 473, in tearDown self.filter.stop() File "/home/yoh/deb/gits/fail2ban/server/filterpyinotify.py", line 196, in stop self.__notifier.stop() File "/usr/lib/pymodules/python2.6/pyinotify.py", line 1315, in stop threading.Thread.join(self) File "/usr/lib/python2.6/threading.py", line 633, in join raise RuntimeError("cannot join thread before it is started") RuntimeError: cannot join thread before it is started that is with pyinotify 0.8.9-1 so could quite be "related" to its age. |
||
---|---|---|
.. | ||
__init__.py | ||
action.py | ||
actions.py | ||
asyncserver.py | ||
banmanager.py | ||
datedetector.py | ||
datetemplate.py | ||
faildata.py | ||
failmanager.py | ||
failregex.py | ||
filter.py | ||
filtergamin.py | ||
filterpoll.py | ||
filterpyinotify.py | ||
iso8601.py | ||
jail.py | ||
jails.py | ||
jailthread.py | ||
mytime.py | ||
server.py | ||
ticket.py | ||
transmitter.py |