Skip to contentSkip to conversation

LVM2 WHATS_NEW configure.in

PATCH [email protected] 1 participant 1 message Feb 13, 2012

lore
Share & tools
lore
#0 lore raw

CVSROOT: /cvs/lvm2
Module name: LVM2
Changes by: fabbione at sourceware.org 2012-02-13 05:24:58

Modified files:
. : WHATS_NEW configure.in

Log message:
In the new corosync world, dlm is a standalone service.

Fix clvmd init script to Require dlm service when building for the new corosync or clvmd will fail to start.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/WHATS_NEW.diff?cvsroot=lvm2&r1=1.2279&r2=1.2280
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/configure.in.diff?cvsroot=lvm2&r1=1.180&r2=1.181

WHATS_NEW +1 -0
@@ -1,5 +1,6 @@
 Version 2.02.92 - 
 ====================================
+  Add clvmd init dependency on dlm service when running with new corosync.
 
 Version 2.02.91 - 12th February 2012
 ====================================
configure.in +9 -0
@@ -675,6 +675,15 @@
 	fi
 fi
 
+dnl -- Fixup CLVMD_CMANAGERS with new corosync
+dnl -- clvmd built with corosync >= 2.0 needs dlm (either init or systemd service)
+dnl -- to be started.
+if [[ `expr x"$CLVMD" : '.*corosync.*'` != 0 ]]; then
+   if test x$HAVE_CMAP = xyes; then
+	CLVMD_CMANAGERS="$CLVMD_CMANAGERS dlm"
+   fi
+fi
+
 ################################################################################
 dnl -- clvmd pidfile
 if test "x$CLVMD" != xnone; then