diff --git a/WHATS_NEW b/WHATS_NEW index 179e52c85..2780834fe 100644 --- a/WHATS_NEW +++ b/WHATS_NEW @@ -26,6 +26,7 @@ Version 2.02.98 - Allow non power of 2 thin chunk sizes if thin pool driver supports that. Allow limited metadata changes when PVs are missing via [vg|lv]change. Do not start dmeventd for lvchange --resync when monitoring is off. + Remove pvscan --cache from lvm2-lvmetad init script. Remove ExecStartPost with pvscan --cache from lvm2-lvmetad.service. Report invalid percentage for property snap_percent of non-snaphot LVs. Disallow convertion of thins to mirrors. diff --git a/scripts/lvm2_lvmetad_init_red_hat.in b/scripts/lvm2_lvmetad_init_red_hat.in index 888c730cd..08e920ead 100644 --- a/scripts/lvm2_lvmetad_init_red_hat.in +++ b/scripts/lvm2_lvmetad_init_red_hat.in @@ -38,12 +38,9 @@ DAEMON=lvmetad exec_prefix=@exec_prefix@ sbindir=@sbindir@ -lvm_pvscan="${sbindir}/lvm pvscan --cache" - LOCK_FILE="/var/lock/subsys/$DAEMON" PID_FILE="@LVMETAD_PIDFILE@" - rh_status() { status -p $PID_FILE $DAEMON } @@ -55,7 +52,7 @@ rh_status_q() { start() { ret=0 - action "Starting LVM metadata daemon:" $DAEMON && ${lvm_pvscan} > /dev/null || ret=$? + action "Starting LVM metadata daemon:" $DAEMON || ret=$? return $ret }