Skip to content

[3.11] main/fail2ban: fix logging after rotate

Henrik Riomar requested to merge HRio/aports:3.11-fail2ban-rotation into 3.11-stable

fail2ban stops updating /var/log/fail2ban.log after rotation, this change fixes that problem.

According to the docs at: https://www.fail2ban.org/wiki/index.php/Commands#LOGGING we shall call "flushlogs" after rotation.

Closes #11382 (closed)

(cherry picked from commit 522044cc)

Merge request reports