From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8346 invoked by alias); 22 Jan 2010 16:19:40 -0000 Received: (qmail 8331 invoked by uid 9664); 22 Jan 2010 16:19:39 -0000 Date: Fri, 22 Jan 2010 16:19:00 -0000 Message-ID: <20100122161939.8329.qmail@sourceware.org> From: mbroz@sourceware.org To: lvm-devel@redhat.com, lvm2-cvs@sourceware.org Subject: LVM2 ./WHATS_NEW scripts/cmirrord_init_red_hat.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: 2010-01/txt/msg00140.txt.bz2 CVSROOT: /cvs/lvm2 Module name: LVM2 Changes by: mbroz@sourceware.org 2010-01-22 16:19:39 Modified files: . : WHATS_NEW scripts : cmirrord_init_red_hat.in Log message: Fix syntax error in cmirror init script - break cannot be used here - remove CLVMDOPTS - add echo to stop call Patches: http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/WHATS_NEW.diff?cvsroot=lvm2&r1=1.1404&r2=1.1405 http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/scripts/cmirrord_init_red_hat.in.diff?cvsroot=lvm2&r1=1.3&r2=1.4 --- LVM2/WHATS_NEW 2010/01/22 15:40:31 1.1404 +++ LVM2/WHATS_NEW 2010/01/22 16:19:38 1.1405 @@ -1,5 +1,6 @@ Version 2.02.60 =================================== + Fix syntax error in cmirror init script. Eliminate extra ioctls just to check open_count in _add_new_lv_to_dtree. Disable not thread-safe memory debugging if dmeventd is configured. Fix first log message prefix in syslog for dmeventd plugins. --- LVM2/scripts/cmirrord_init_red_hat.in 2010/01/19 02:04:35 1.3 +++ LVM2/scripts/cmirrord_init_red_hat.in 2010/01/22 16:19:38 1.4 @@ -24,14 +24,10 @@ if ! pidof $DAEMON > /dev/null then echo -n "Starting $DAEMON: " - daemon $DAEMON $CLVMDOPTS + daemon $DAEMON rtrn=$? echo - if [ $rtrn -ne 0 ] - then - break - fi - fi + fi return $rtrn } @@ -41,6 +37,7 @@ echo -n "Stopping $DAEMON:" killproc $DAEMON -TERM rtrn=$? + echo return $rtrn }