Description of problem: /etc/logrotate.d/fail2ban has the following post-rotate command: fail2ban reload 2>/dev/null This will however purge the chains, even though some entries might have a bantime that is longer than the log rotation period. http://www.fail2ban.org/wiki/index.php/Fail2ban:Community_Portal suggests: logrotate configuration must run 'fail2ban-client set logtarget /var/log/fail2ban.log' instead of 'invoke-rc.d --quiet fail2ban reload' Version-Release number of selected component (if applicable): fail2ban-0.8.3-18.fc10.noarch How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info:
This problem also persists in fc11.
This is actually a bug with restarting fail2ban which forgets about its state. Since the next fail2ban package will use SYSLOG for logging there will not be any logrotate calls, but even if, I added the patch you suggested, thanks!
fail2ban-0.8.3-21.fc10 has been submitted as an update for Fedora 10. http://admin.fedoraproject.org/updates/fail2ban-0.8.3-21.fc10
fail2ban-0.8.3-21.fc11 has been submitted as an update for Fedora 11. http://admin.fedoraproject.org/updates/fail2ban-0.8.3-21.fc11
fail2ban-0.8.3-21.fc10 has been pushed to the Fedora 10 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update fail2ban'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F10/FEDORA-2009-9094
fail2ban-0.8.3-21.fc11 has been pushed to the Fedora 11 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update fail2ban'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F11/FEDORA-2009-9103
fail2ban-0.8.3-22.fc11 has been pushed to the Fedora 11 stable repository. If problems still persist, please make note of it in this bug report.
fail2ban-0.8.4-23.fc11 has been submitted as an update for Fedora 11. http://admin.fedoraproject.org/updates/fail2ban-0.8.4-23.fc11
fail2ban-0.8.4-23.fc10 has been submitted as an update for Fedora 10. http://admin.fedoraproject.org/updates/fail2ban-0.8.4-23.fc10
fail2ban-0.8.4-23.fc10 has been pushed to the Fedora 10 stable repository. If problems still persist, please make note of it in this bug report.
fail2ban-0.8.4-23.fc11 has been pushed to the Fedora 11 stable repository. If problems still persist, please make note of it in this bug report.