1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-01-02 01:18:26 +03:00

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.
This commit is contained in:
Fabio M. Di Nitto 2012-02-13 05:24:57 +00:00
parent 0a182731e4
commit 94424fabd0
2 changed files with 10 additions and 0 deletions

View File

@ -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
====================================

View File

@ -675,6 +675,15 @@ if test x$CLVMD = xall; then
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