The logrotate script that ships with fail2ban overrides the following variables which a user may want to set globally in /etc/logrotate.conf: rotate 7 -- Dangerous. This dictates when logs are deleted. compress -- Annoying. `zgrep`, for example, does not support `-r`. A few more points: * Global configuration is important for predictability and scripting. * If size on the filesystem is a concern, the user can: * set e-mail warnings * set filesize-based rotation limits * enable compression only for logs which he or she expects to grow * Logs are a security measure. Reproducible: Always
Did you report this upstream? I can't find anything at https://github.com/fail2ban/fail2ban/issues
Fixed in 0.9.2-r1.
Reported upstream: https://github.com/fail2ban/fail2ban/pull/1312