From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28958 invoked by alias); 13 Feb 2012 05:25:03 -0000 Received: (qmail 28876 invoked by uid 9702); 13 Feb 2012 05:24:58 -0000 Date: Mon, 13 Feb 2012 05:25:00 -0000 Message-ID: <20120213052458.28874.qmail@sourceware.org> From: fabbione@sourceware.org To: lvm-devel@redhat.com, lvm2-cvs@sourceware.org Subject: LVM2 WHATS_NEW configure.in Mailing-List: contact lvm2-cvs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: lvm2-cvs-owner@sourceware.org X-SW-Source: 2012-02/txt/msg00062.txt.bz2 CVSROOT: /cvs/lvm2 Module name: LVM2 Changes by: fabbione@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 --- LVM2/WHATS_NEW 2012/02/13 00:23:21 1.2279 +++ LVM2/WHATS_NEW 2012/02/13 05:24:57 1.2280 @@ -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 ==================================== --- LVM2/configure.in 2012/01/31 21:21:54 1.180 +++ LVM2/configure.in 2012/02/13 05:24:57 1.181 @@ -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