Fix clvmd init script to Require dlm service when building for the
new corosync or clvmd will fail to start.
Version 2.02.92 -
====================================
+ Add clvmd init dependency on dlm service when running with new corosync.
Version 2.02.91 - 12th February 2012
====================================
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