Bug#380180: heartbeat: portblock syntax errors in 1.2.3-9sarge5

2006-07-28 Thread Kostja Siefen
Package: heartbeat
Version: 1.2.3-9sarge5
Severity: grave
Tags: patch
Justification: renders package unusable


After upgrading to 1.2.3-9sarge5, heartbeat kept rebooting the system as
there were errors running the portblock resource script.

This bug applies to people which use portblock as heartbeat service
to drop incoming network packets when service takeover.

The syntax error is due to a missing iptables path which results in
command not found errors in /etc/ha.d/resource.d/portblock.

Fixing is simple, patch is attached (putting iptables back into place).

-- System Information:
Debian Release: 3.1
Architecture: i386 (i686)
Kernel: Linux 2.6.16-2-686
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)

Versions of packages heartbeat depends on:
ii  adduser   3.63   Add and remove users and groups
ii  iproute   20041019-3 Professional tools to control the 
ii  iputils-ping  3:20020927-2   Tools to test the reachability of 
ii  libc6 2.3.2.ds1-22sarge3 GNU C Library: Shared libraries an
ii  libglib1.21.2.10-9   The GLib library of C routines
ii  libnet1   1.1.2.1-2  library for the construction and h
ii  libpils0  1.2.3-9sarge5  Plugin and Interface Loading Syste
ii  libstonith0   1.2.3-9sarge5  Interface for remotely powering do
ii  python2.3.5-2An interactive high-level object-o

-- no debconf information
--- portblock.original  2006-07-28 09:35:16.0 +0200
+++ portblock   2006-07-28 09:19:26.0 +0200
@@ -68,7 +68,7 @@
 *) exit 3;;
   esac
 }
-iptables=
+iptables=/sbin/iptables

 BlockOrUnblock=block



Bug#380180: heartbeat: portblock syntax errors in 1.2.3-9sarge5

2006-07-28 Thread Horms
On Fri, Jul 28, 2006 at 09:57:24AM +0200, Kostja Siefen wrote:
 Package: heartbeat
 Version: 1.2.3-9sarge5
 Severity: grave
 Tags: patch
 Justification: renders package unusable
 
 
 After upgrading to 1.2.3-9sarge5, heartbeat kept rebooting the system as
 there were errors running the portblock resource script.
 
 This bug applies to people which use portblock as heartbeat service
 to drop incoming network packets when service takeover.
 
 The syntax error is due to a missing iptables path which results in
 command not found errors in /etc/ha.d/resource.d/portblock.
 
 Fixing is simple, patch is attached (putting iptables back into place).

Thanks. I suspect that the problem is that ther eis a missing
build depenancy on iptables, and thus its path is not being
auto-detected and filled in at build-time.

I'll get this fixed for the next release.

-- 
Horms
  H: http://www.vergenet.net/~horms/
  W: http://www.valinux.co.jp/en/



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]