mirror of
git://sourceware.org/git/lvm2.git
synced 2025-01-17 06:04:23 +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:
parent
0a182731e4
commit
94424fabd0
@ -1,5 +1,6 @@
|
|||||||
Version 2.02.92 -
|
Version 2.02.92 -
|
||||||
====================================
|
====================================
|
||||||
|
Add clvmd init dependency on dlm service when running with new corosync.
|
||||||
|
|
||||||
Version 2.02.91 - 12th February 2012
|
Version 2.02.91 - 12th February 2012
|
||||||
====================================
|
====================================
|
||||||
|
@ -675,6 +675,15 @@ if test x$CLVMD = xall; then
|
|||||||
fi
|
fi
|
||||||
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
|
dnl -- clvmd pidfile
|
||||||
if test "x$CLVMD" != xnone; then
|
if test "x$CLVMD" != xnone; then
|
||||||
|
Loading…
x
Reference in New Issue
Block a user