-RELEASE=2.2
+RELEASE=3.0
-RHCVER=3.1.93
+RHCVER=3.2.0
RHCBRANCH=STABLE32
RHCDIR=cluster-${RHCVER}
RHCSRC=${RHCDIR}.tar.gz
PACKAGE=redhat-cluster-pve
-PKGREL=2
+PKGREL=1
DEBS= \
${PACKAGE}_${RHCVER}-${PKGREL}_amd64.deb \
cp -a debian ${RHCDIR}/debian
cat ${RHCDIR}/doc/COPYRIGHT >>${RHCDIR}/debian/copyright
cd ${RHCDIR}; dpkg-buildpackage -rfakeroot -b -us -uc
- lintian ${DEBS}
+ lintian -X copyright-file ${DEBS}
${RHCSRC} download:
rm -rf ${RHCDIR} cluster.git
+redhat-cluster-pve (3.2.0-1) unstable; urgency=low
+
+ * update to latest STABLE32 (3.2.0, commit
+ 6ac07a7ec331e8f9c1b238e49144731cd48c0150)
+
+ -- Proxmox Support Team <support@proxmox.com> Fri, 15 Mar 2013 07:19:00 +0100
+
redhat-cluster-pve (3.1.93-2) unstable; urgency=low
* correct init script dependency, so that open-iscsi is stopped after
libcorosync-pve-dev,
libopenais-pve-dev,
xsltproc,
- pve-headers-2.6.32-16-pve
+ pve-headers-2.6.32-19-pve
Package: redhat-cluster-pve
Architecture: any
Index: new/cman/init.d/cman.in
===================================================================
---- new.orig/cman/init.d/cman.in 2012-10-02 11:07:02.000000000 +0200
-+++ new/cman/init.d/cman.in 2012-10-02 11:07:38.000000000 +0200
-@@ -231,9 +231,9 @@
+--- new.orig/cman/init.d/cman.in 2013-03-15 07:27:17.000000000 +0100
++++ new/cman/init.d/cman.in 2013-03-15 07:30:40.000000000 +0100
+@@ -228,9 +228,9 @@
echo -e "$errmsg"
failure
echo
- if [ "$currentaction" = "start" ]; then
-- $thisinvokation stop
+- stop && rm -f $LOCK_FILE
- fi
+# if [ "$currentaction" = "start" ]; then
-+# $thisinvokation stop
++# stop && rm -f $LOCK_FILE
+# fi
exit 1
}
Index: new/cman/init.d/cman.in
===================================================================
---- new.orig/cman/init.d/cman.in 2012-10-02 10:58:00.000000000 +0200
-+++ new/cman/init.d/cman.in 2012-10-02 11:07:02.000000000 +0200
-@@ -22,6 +22,8 @@
- # save invokation for rollback ops
- thisinvokation="$0"
+--- new.orig/cman/init.d/cman.in 2013-03-15 07:21:53.000000000 +0100
++++ new/cman/init.d/cman.in 2013-03-15 07:27:17.000000000 +0100
+@@ -19,6 +19,8 @@
+ # set secure PATH
+ PATH="/bin:/usr/bin:/sbin:/usr/sbin:@SBINDIR@"
+test -x @SBINDIR@/cman_tool || exit 0
+
chkconfig2()
{
case "$1" in
-@@ -146,7 +148,7 @@
+@@ -143,7 +145,7 @@
# DLM_CONTROLD_OPTS="-f0" (at least) for correct operation.
# Please note that clusters without fencing are not
# supported by Red Hat except for MRG installations.
Index: new/cman/init.d/cman.in
===================================================================
---- new.orig/cman/init.d/cman.in 2012-11-14 06:12:44.000000000 +0100
-+++ new/cman/init.d/cman.in 2012-11-14 06:33:35.000000000 +0100
+--- new.orig/cman/init.d/cman.in 2013-03-15 07:31:33.000000000 +0100
++++ new/cman/init.d/cman.in 2013-03-15 07:35:36.000000000 +0100
@@ -8,10 +8,11 @@
#
### BEGIN INIT INFO
# Provides: cman
--# Required-Start: $network $time
--# Required-Stop: $network $time
+-# Required-Start: $network $time fence_sanlockd
+-# Required-Stop: $network $time fence_sanlockd
-# Default-Start:
-# Default-Stop:
-+# Required-Start: $remote_fs pve-cluster
-+# Required-Stop: $remote_fs pve-cluster
++# Required-Start: $network $time $remote_fs pve-cluster
++# Required-Stop: $network $time $remote_fs pve-cluster
+# Should-Stop: iscsi umountiscsi.sh
+# Default-Start: 2 3 4 5
+# Default-Stop: 0 1 6
# Short-Description: Starts and stops cman
# Description: Starts and stops the Cluster Manager set of daemons
### END INIT INFO
-@@ -22,7 +23,10 @@
- # save invokation for rollback ops
- thisinvokation="$0"
+@@ -19,7 +20,10 @@
+ # set secure PATH
+ PATH="/bin:/usr/bin:/sbin:/usr/sbin:@SBINDIR@"
+CCFG="/etc/cluster/cluster.conf"
+
chkconfig2()
{
-@@ -71,8 +75,7 @@
+@@ -68,8 +72,7 @@
# deb based distros
if [ ! -d /etc/sysconfig ]; then
./configure --prefix=/usr \
--libexecdir=/usr/lib \
--disable_dbus \
- --kernel_src=/usr/src/linux-headers-2.6.32-16-pve/
+ --kernel_src=/usr/src/linux-headers-2.6.32-19-pve/
override_dh_auto_install:
$(MAKE) install DESTDIR=$(BUILDROOT)/debian/tmp/