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.2 1.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 python 2.3.5-2 An interactive high-level object-o
-- no debconf information
--- portblock.original 2006-07-28 09:35:16.000000000 +0200
+++ portblock 2006-07-28 09:19:26.000000000 +0200
@@ -68,7 +68,7 @@
*) exit 3;;
esac
}
-iptables=
+iptables=/sbin/iptables
BlockOrUnblock=block