Hi Stefan,
Could you please check once again either you keep experiencing this
issue you have reported long time ago? May be it is gone by now and I
could close this bugreport ;)
since last 2 years, there even was a new upstream release ;)
Thanks in advance
On Wed, 03 Sep 2008, Stefan wrote:
> > I'm using the same Python version on x86_64 (2.5.2-2) without any
> > problem. As the exception comes from asyncore.py, I strongly suspect a
> > bug related to your architecture (arm).
> > Could you please try to revert the attached patch? Or simply set
> > "use_poll" to "False" in server/asyncserver.py:
> > asyncore.loop(use_poll = False)
> Hi, and sorry for the delay.
> I just tried to set use_poll to False in asyncore.loop, and this happens
> (nothing in fail2ban.log):
> Jotunheim:~# fail2ban-server -x -f
> 2008-09-03 18:15:35,239 fail2ban.server : INFO Starting Fail2ban v0.8.3
> Here I do (in another shell):
> Jotunheim:~# fail2ban-client reload
> ERROR Could not find server
> Jotunheim:~#
> And get this in the first shell:
> Jotunheim:~# fail2ban-server -x -f
> 2008-09-03 18:15:35,239 fail2ban.server : INFO Starting Fail2ban v0.8.3
> error: uncaptured python exception, closing channel
> <server.asyncserver.AsyncServer listening '/var/run/fail2ban/fail2ban.sock'
> at 0x1d8b2c> (<type 'exceptions.SystemError'>:Negative size passed to
> PyString_FromStringAndSize [/usr/lib/python2.5/asyncore.py|read|68]
> [/usr/lib/python2.5/asyncore.py|handle_read_event|384]
> [/usr/share/fail2ban/server/asyncserver.py|handle_accept|97]
> [/usr/lib/python2.5/asyncore.py|accept|321] [/usr/lib/python2.5/socket.py|
> accept|172])
> 2008-09-03 18:15:46,617 fail2ban.server : INFO Exiting Fail2ban
> Jotunheim:~#
> When I specify python2.4 in fail2ban-server and fail2ban-client everything is
> OK, even without changing asyncore.py. So I'll just go with that if you don't
> have any other ideas.
> /Stefan
--
.-.
=------------------------------ /v\ ----------------------------=
Keep in touch // \\ (yoh@|www.)onerussian.com
Yaroslav Halchenko /( )\ ICQ#: 60653192
Linux User ^^-^^ [175555]
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]