1 --- LVM2.2.02.85/scripts/lvm2_monitoring_init_red_hat.in 2011-10-05 21:36:47.152774996 +0200
2 +++ LVM2.2.02.95/scripts/lvm2_monitoring_init_red_hat.in 2012-04-18 18:11:44.000000000 +0300
7 # Copyright (C) 2007-2009 Red Hat, Inc. All rights reserved.
14 # TODO do we want to separate out already active groups only?
15 VGSLIST=`$VGS --noheadings -o name --config 'log{command_names=0 prefix=" "}' 2> /dev/null`
18 - action "Starting monitoring for VG $vg:" $VGCHANGE --monitor y --poll y --config 'log{command_names=0 prefix=" "}' $vg || ret=$?
19 + msg_starting "Starting monitoring for VG $vg:"; busy
20 + $VGCHANGE --monitor y --poll y --config 'log{command_names=0 prefix=" "}' $vg
22 + if [ $ret -ne 0 ]; then
36 # TODO do we want to separate out already active groups only?
37 if test "$WARN" = "1"; then
38 echo "Not stopping monitoring, this is a dangerous operation. Please use force-stop to override."
40 VGSLIST=`$VGS --noheadings -o name --config 'log{command_names=0 prefix=" "}' 2> /dev/null`
43 - action "Stopping monitoring for VG $vg:" $VGCHANGE --monitor n --config 'log{command_names=0 prefix=" "}' $vg || ret=$?
44 + msg_stopping "Stopping monitoring for VG $vg:"; busy
45 + $VGCHANGE --monitor n --config 'log{command_names=0 prefix=" "}' $vg
47 + if [ $ret -ne 0 ]; then
55 --- LVM2.2.02.94/scripts/lvm2_monitoring_systemd_red_hat.service.in~ 2012-02-01 15:08:39.000000000 +0200
56 +++ LVM2.2.02.94/scripts/lvm2_monitoring_systemd_red_hat.service.in 2012-03-29 00:12:31.886921407 +0300
59 Description=Monitoring of LVM2 mirrors, snapshots etc. using dmeventd or progress polling
60 Requires=dm-event.socket
61 -After=dm-event.socket fedora-storage-init.service fedora-storage-init-late.service
62 +After=dm-event.socket pld-storage-init.service pld-storage-init-late.service
63 Before=local-fs.target
64 DefaultDependencies=no
65 Conflicts=shutdown.target