fedora-users October 2011 archive
Main Archive Page > Month Archives  > fedora-users archives
fedora-users: Re: fail2ban vs. logrotate

Re: fail2ban vs. logrotate

From: Tom Rivers <tom_at_nospam>
Date: Tue Oct 25 2011 - 20:25:59 GMT
To: Community support for Fedora users <users@lists.fedoraproject.org>

On 10/25/2011 4:12 PM, Mike Wohlgemuth wrote:
> On 10/25/2011 11:12 AM, Mikkel L. Ellertson wrote:
>> It looks like you would have to modify the syslog logrotate script
>> and add a second command in the postrotate section after it restarts
>> syslogd. Does fail2ban accept a SIGHUP to close and reopen the log file?
> That was my first thought, but I don't see any way to get fail2ban to
> reopen the log file without also forgetting the current ban list.

For what it's worth, I have been using fail2ban and logrotate together
in a vanilla configuration for some time now and have never experienced
this problem. Right now it is running without incident on RHEL 5.7 and
F14. Are you sure you didn't tweak something, either on purpose or by
accident, when you configured things? If you haven't, then perhaps
something has changed and that is why it no longer works as expected.

-- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines