1 --- LVM2.2.02.181/scripts/blk_availability_init_red_hat.in.orig 2018-08-02 08:18:51.000000000 +0200
2 +++ LVM2.2.02.181/scripts/blk_availability_init_red_hat.in 2018-09-07 20:43:11.884952342 +0200
7 # Copyright (C) 2012-2017 Red Hat, Inc. All rights reserved.
10 # Short-Description: Availability of block devices
13 -. /etc/init.d/functions
14 +. /etc/rc.d/init.d/functions
26 - action "Stopping block device availability:" "$sbindir/$script" $options
27 + run_cmd "Stopping block device availability:" "$sbindir/$script" $options
36 - echo $"Usage: $0 {start|stop|status}"
37 + msg_usage "$0 {start|stop|status}"
41 --- LVM2.2.02.181/scripts/lvm2_monitoring_init_red_hat.in.orig 2018-08-02 08:18:51.000000000 +0200
42 +++ LVM2.2.02.181/scripts/lvm2_monitoring_init_red_hat.in 2018-09-07 21:12:38.944932161 +0200
47 # Copyright (C) 2007-2009 Red Hat, Inc. All rights reserved.
50 VGSLIST=`$VGS --noheadings -o name --ignoreskippedcluster --config 'log{command_names=0 prefix=" "}' 2> /dev/null`
53 - action "Starting monitoring for VG $vg:" "$VGCHANGE" --monitor y --poll y --ignoreskippedcluster --config 'log{command_names=0 prefix=" "}' $vg || ret=$?
54 + msg_starting "monitoring for VG $vg:"; busy
55 + "$VGCHANGE" --monitor y --poll y --ignoreskippedcluster --config 'log{command_names=0 prefix=" "}' $vg
57 + if [ $ret -ne 0 ]; then
66 VGSLIST=`$VGS --noheadings -o name --ignoreskippedcluster --config 'log{command_names=0 prefix=" "}' 2> /dev/null`
69 - action "Stopping monitoring for VG $vg:" "$VGCHANGE" --monitor n --ignoreskippedcluster --config 'log{command_names=0 prefix=" "}' $vg || ret=$?
70 + msg_stopping "monitoring for VG $vg:"; busy
71 + "$VGCHANGE" --monitor n --ignoreskippedcluster --config 'log{command_names=0 prefix=" "}' $vg
73 + if [ $ret -ne 0 ]; then
85 - echo $"Usage: $0 {start|stop|restart|status|force-stop}"
86 + msg_usage "$0 {start|stop|restart|status|force-stop}"
90 --- LVM2.2.02.181/scripts/blk_availability_systemd_red_hat.service.in.orig 2018-09-07 20:29:42.941628244 +0200
91 +++ LVM2.2.02.181/scripts/blk_availability_systemd_red_hat.service.in 2018-09-07 21:28:09.498254872 +0200
96 -ExecStart=/usr/bin/true
98 ExecStop=@SBINDIR@/blkdeactivate -u -l wholevg -m disablequeueing -r wait
101 --- LVM2.2.02.186/scripts/lvm2_lvmpolld_init_red_hat.in.orig 2019-09-23 21:36:48.727591492 +0200
102 +++ LVM2.2.02.186/scripts/lvm2_lvmpolld_init_red_hat.in 2019-09-23 21:39:51.961644240 +0200
107 # Copyright (C) 2015 Red Hat, Inc. All rights reserved.
110 # Also avoids unsolicited termination due to external factors.
113 -. /etc/init.d/functions
114 +. /etc/rc.d/init.d/functions
122 - action "Starting LVM poll daemon:" "$sbindir/$DAEMON" || ret=$?
123 + run_cmd "Starting LVM poll daemon:" "$sbindir/$DAEMON" || ret=$?
130 - action "Signaling LVM poll daemon to exit:" killproc -p "$PID_FILE" "$DAEMON" -TERM || ret=$?
131 + msg_stopping "LVM poll daemon"
132 + killproc -p "$PID_FILE" "$DAEMON" -TERM || ret=$?
137 [ $rtrn = 0 ] && rm -f "$LOCK_FILE"
141 + restart|force-reload)
149 - echo $"Usage: $0 {start|stop|force-stop|restart|condrestart|try-restart|status}"
150 + msg_usage "$0 {start|stop|force-stop|restart|force-reload|condrestart|try-restart|status}"