From a45fadd1835a2a755a4a83e5f6fbd2a27c5c4466 Mon Sep 17 00:00:00 2001 From: Yaroslav Halchenko Date: Mon, 2 Oct 2006 19:03:58 +0000 Subject: [PATCH] News about the 0.7 release and adjusted init script so it fails to start if not root --- debian/NEWS | 12 ++++++++++++ debian/changelog | 2 +- debian/fail2ban.init | 4 ++-- 3 files changed, 15 insertions(+), 3 deletions(-) diff --git a/debian/NEWS b/debian/NEWS index bcc78e93..8d10c2ff 100644 --- a/debian/NEWS +++ b/debian/NEWS @@ -1,3 +1,15 @@ +fail2ban (0.7.1-1) unstable; urgency=low + + 0.7.x versions of fail2ban is a complete rewrite of the tool since 0.6, and + is went through restructuring of the configuration files. If you had + adjusted config file /etc/fail2ban.conf or /etc/defaults/fail2ban, you need + to adjust new config files (under /etc/fail2ban/ and /etc/default/fail2ban) + to take advantage of the upgrade. Now fail2ban uses split configs and local + modifications can be introduced in corresponding .local files. Please + remove old configuration file /etc/fail2ban.conf thereafter. + + -- Yaroslav Halchenko Tue, 12 Sep 2006 10:31:15 -0400 + fail2ban (0.6.0-4) unstable; urgency=low In this version the new section ApacheAttacks was introduced to ban IPs diff --git a/debian/changelog b/debian/changelog index 9fe4bcc4..f61821e4 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,4 +1,4 @@ -fail2ban (0.7.3-1) UNRELEASED; urgency=low +fail2ban (0.7.3-1) experimental; urgency=low * New upstream release diff --git a/debian/fail2ban.init b/debian/fail2ban.init index bbf50e0d..4e62d6fa 100644 --- a/debian/fail2ban.init +++ b/debian/fail2ban.init @@ -56,10 +56,10 @@ do_start() # 0 if daemon has been started # 1 if daemon was already running # 2 if daemon could not be started - start-stop-daemon --start --quiet --exec $DAEMON --test -- \ + start-stop-daemon --start --quiet --user root --exec $DAEMON --test -- \ $DAEMON_ARGS start > /dev/null \ || return 1 - start-stop-daemon --start --quiet --exec $DAEMON -- \ + start-stop-daemon --start --quiet --chuid root --exec $DAEMON -- \ $DAEMON_ARGS start > /dev/null\ || return 2 }