From 34c3264f2c61a267c77ec34ad1ea699dc0acfd6b Mon Sep 17 00:00:00 2001 From: Yaroslav Halchenko Date: Fri, 7 Feb 2014 01:00:42 -0500 Subject: [PATCH] initial changelog entry + use flushlogs in logrotate --- debian/changelog | 13 +++++++++---- debian/fail2ban.logrotate | 2 +- 2 files changed, 10 insertions(+), 5 deletions(-) diff --git a/debian/changelog b/debian/changelog index 9b650e8f..fd17840b 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,9 +1,14 @@ -fail2ban (0.8.11-2) UNRELEASED; urgency=low +fail2ban (0.8.12-1) unstable; urgency=low - * /etc/default/fail2ban -- minor typo. Thanks Vincent Lefevre for report (the - rest will be reflected in the next upstream release) (Closes: #734421) + * New upstream release + - provides "fail2ban-client flushlogs" command, debian/fail2ban.logrotate + was adjusted to use it. Helps to mitigate #697333 + - removes indentation of name and loglevel while logging to SYSLOG + (Closes: #730202) + * /etc/default/fail2ban -- minor typo. Thanks Vincent Lefevre for report + (Closes: #734421) - -- Yaroslav Halchenko Mon, 06 Jan 2014 23:39:33 -0500 + -- Yaroslav Halchenko Fri, 07 Feb 2014 00:45:38 -0500 fail2ban (0.8.11-1) unstable; urgency=low diff --git a/debian/fail2ban.logrotate b/debian/fail2ban.logrotate index 7a4ed971..ea464284 100644 --- a/debian/fail2ban.logrotate +++ b/debian/fail2ban.logrotate @@ -7,7 +7,7 @@ delaycompress missingok postrotate - fail2ban-client set logtarget /var/log/fail2ban.log >/dev/null + fail2ban-client flushlogs 1>/dev/null endscript # If fail2ban runs as non-root it still needs to have write access