packages: lvm2/pldize_lvm2_monitor.patch - updated to 2.02.94

baggins baggins at pld-linux.org
Sat Mar 3 17:00:38 CET 2012


Author: baggins                      Date: Sat Mar  3 16:00:38 2012 GMT
Module: packages                      Tag: HEAD
---- Log message:
- updated to 2.02.94

---- Files affected:
packages/lvm2:
   pldize_lvm2_monitor.patch (1.1 -> 1.2) 

---- Diffs:

================================================================
Index: packages/lvm2/pldize_lvm2_monitor.patch
diff -u packages/lvm2/pldize_lvm2_monitor.patch:1.1 packages/lvm2/pldize_lvm2_monitor.patch:1.2
--- packages/lvm2/pldize_lvm2_monitor.patch:1.1	Sat Oct  8 01:24:13 2011
+++ packages/lvm2/pldize_lvm2_monitor.patch	Sat Mar  3 17:00:33 2012
@@ -6,22 +6,22 @@
  #
  # Copyright (C) 2007-2009 Red Hat, Inc. All rights reserved.
 @@ -50,7 +50,8 @@ start()
- 	VGSLIST=`$VGS --noheadings -o name 2> /dev/null`
+ 	VGSLIST=`$VGS --noheadings -o name --config 'log{command_names=0 prefix="  "}' 2> /dev/null`
  	for vg in $VGSLIST
  	do
--	    action "Starting monitoring for VG $vg:" $VGCHANGE --monitor y --poll y $vg || ret=$?
-+		msg_starting "Starting monitoring for VG $vg"
-+		daemon $VGCHANGE --monitor y --poll y $vg || return $?
+-	    action "Starting monitoring for VG $vg:" $VGCHANGE --monitor y --poll y --config 'log{command_names=0 prefix="  "}' $vg || ret=$?
++	    msg_starting "Starting monitoring for VG $vg:" \
++		daemon $VGCHANGE --monitor y --poll y --config 'log{command_names=0 prefix="  "}' $vg || return $?
  	done
  
  	return $ret
 @@ -68,7 +71,8 @@ stop()
- 	VGSLIST=`$VGS --noheadings -o name 2> /dev/null`
+ 	VGSLIST=`$VGS --noheadings -o name --config 'log{command_names=0 prefix="  "}' 2> /dev/null`
  	for vg in $VGSLIST
  	do
--	    action "Stopping monitoring for VG $vg:" $VGCHANGE --monitor n $vg || ret=$?
-+		msg_stopping "Stopping monitoring for VG $vg"
-+	    	$VGCHANGE --monitor n $vg || return $?
+-	    action "Stopping monitoring for VG $vg:" $VGCHANGE --monitor n --config 'log{command_names=0 prefix="  "}' $vg || ret=$?
++	    msg_stopping "Stopping monitoring for VG $vg:" \
++		$VGCHANGE --monitor n --config 'log{command_names=0 prefix="  "}' $vg || return $?
  	done
  	return $ret
  }
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/lvm2/pldize_lvm2_monitor.patch?r1=1.1&r2=1.2&f=u



More information about the pld-cvs-commit mailing list