Bug#776572: fail2ban: $named missing as dependency in init script

2015-01-29 Thread Jochen Fahrner
Package: fail2ban
Version: 0.8.6-3wheezy3
Severity: important

Dear Maintainer,
the init script for fail2ban is missing $named as dependency.
So it's getting started before named is running, and the initial processing
of log files fails on all lines with a hostname.

So you should change

# Required-Start:$local_fs $remote_fs $named
# Required-Stop: $local_fs $remote_fs $named

For completeness you should als add ufw to Sholud-Start and Should-Stop.

-- System Information:
Debian Release: 7.8
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-4-amd64 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages fail2ban depends on:
ii  lsb-base4.1+Debian8+deb7u1
ii  python  2.7.3-4+deb7u1
ii  python-central  0.6.17

Versions of packages fail2ban recommends:
ii  iptables  1.4.14-3.1
ii  python-gamin  0.1.10-4.1
ii  whois 5.1.1~deb7u1

Versions of packages fail2ban suggests:
ii  heirloom-mailx [mailx]  12.5-2+deb7u1

-- Configuration Files:
/etc/fail2ban/jail.conf changed [not included]
/etc/init.d/fail2ban changed [not included]

-- no debconf information


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#776572: fail2ban: $named missing as dependency in init script

2015-01-29 Thread Yaroslav Halchenko
Thanks Jochen,

Added at least upstream for now

$ git show
commit c96415da2790e03ed8ab9b0f7c38dbc7a5da359e
Author: Yaroslav Halchenko deb...@onerussian.com
Date:   Thu Jan 29 08:32:20 2015 -0500

added $named and ufw to debian-initd (Debian bug #776572)

diff --git a/files/debian-initd b/files/debian-initd
index d9bb3f5..0d2bed9 100755
--- a/files/debian-initd
+++ b/files/debian-initd
@@ -3,8 +3,8 @@
 # Provides:  fail2ban
 # Required-Start:$local_fs $remote_fs
 # Required-Stop: $local_fs $remote_fs
-# Should-Start:  $time $network $syslog iptables firehol shorewall ipmasq 
arno-iptables-firewall iptables-persistent ferm
-# Should-Stop:   $network $syslog iptables firehol shorewall ipmasq 
arno-iptables-firewall iptables-persistent ferm
+# Should-Start:  $time $network $syslog $named iptables firehol shorewall 
ipmasq arno-iptables-firewall iptables-persistent ferm ufw
+# Should-Stop:   $network $syslog $named iptables firehol shorewall ipmasq 
arno-iptables-firewall iptables-persistent ferm ufw
 # Default-Start: 2 3 4 5
 # Default-Stop:  0 1 6
 # Short-Description: Start/stop fail2ban


-- 
Yaroslav O. Halchenko, Ph.D.
http://neuro.debian.net http://www.pymvpa.org http://www.fail2ban.org
Research Scientist,Psychological and Brain Sciences Dept.
Dartmouth College, 419 Moore Hall, Hinman Box 6207, Hanover, NH 03755
Phone: +1 (603) 646-9834   Fax: +1 (603) 646-1419
WWW:   http://www.linkedin.com/in/yarik


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org