[Python-modules-team] Bug#956681: /etc/logrotate.d/fail2ban cause logrotate failures when fail2ban isn't running.
Sylvestre Ledru
sylvestre at debian.org
Tue Apr 14 10:45:08 BST 2020
Hello
Thanks for your patch!
Le 14/04/2020 à 11:30, Ron Varburg a écrit :
> Package: fail2ban
> Version: 0.10.2-2.1
> Severity: normal
> Tags: patch
>
> The following patch:
> 1. Prevents logrotate failures when fail2ban doesn't run for any reason.
> When fail2ban isn't running, fail2ban-client flushlogs exits with an error
> code. I think announcing fail2ban isn't running should not be made by
> making logrotate to fail.
This should be fixed upstream in "fail2ban-client flushlogs" I think.
Could you please report an issue there?
> 2. Doesn't rotate empty log files.
agreed & pushed. thanks
Cheers,
Sylvestre
More information about the Python-modules-team
mailing list