[CentOS] Fail2ban & logrotate [was: Update on spam, postfix, fail2ban, centos 6]

Leonard den Ottolander

leonard at den.ottolander.nl
Mon Jun 18 15:03:40 UTC 2012

Hello Bob,

On Mon, 2012-06-18 at 10:07 -0400, Bob Hoffman wrote:
> The  debian and redhat issues seem to be worlds apart. I know as I tried 
> all the fixes and found debian fixes a dead end.

I still believe
is the issue we are seeing.

might indeed be a different but similar (timing) issue though. The patch
added there is for action.py and indeed not relevant to the jail start
up issues.

> The errors on shutdown are the same as the errors for startup, when not 
> using sleep. I get one for each jail it kills in iptables.

They are similar but not the same (-X instead of -I etc.). I only see
errors for jails for which the iptables rules didn't get applied. The
rules that didn't get added on start up are being removed but not found
which causes the errors on shutdown.

> the sleep command that I presented does prevent the issue on startup.

My bad. The patch you mention indeed does apply. I see why I got

$ grep def\ __processCmd *

I overlooked fail2ban-client and thought this had to be applied to
action.py. I will give that sleep in fail2ban-client a try.

Could you please provide a url to that patch or add it to the bug report
I made? I remember seeing it but forgot to bookmark it.

> I don't know if this is any bug I would submit to redhat, it seemed
> to 
> be fail2ban's issue...

Bugs for EPEL packages have to be reported via Red Hat's bugzilla.
Perfectly valid issue to put in their bug tracker, especially since
there seems to be not much going on upstream. Even confused where
upstream is, there are patches to the SourceForge tree that seem not to
have propagated to the now current(?) GitHub repo.


mount -t life -o ro /dev/dna /genetic/research

More information about the CentOS mailing list