From 7a64fff948278604d287ac96d9783a6b896de99b Mon Sep 17 00:00:00 2001 From: Peter Rajnoha Date: Mon, 8 Oct 2012 16:49:54 +0200 Subject: [PATCH] systemd: remove ExecStartPost from lvm2-lvmetad.service. The ExecStartPost with pvscan --cache in lvm2-lvmetad.service is not needed now as this is called transparently within the first LVM command that queries lvmetad. --- WHATS_NEW | 1 + scripts/lvm2_lvmetad_systemd_red_hat.service.in | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/WHATS_NEW b/WHATS_NEW index 004f8b11a..cf1b56321 100644 --- a/WHATS_NEW +++ b/WHATS_NEW @@ -1,5 +1,6 @@ Version 2.02.98 - ================================= + 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. Fix lvm2api data_percent reporting for thin volumes. diff --git a/scripts/lvm2_lvmetad_systemd_red_hat.service.in b/scripts/lvm2_lvmetad_systemd_red_hat.service.in index e527369cd..0150726eb 100644 --- a/scripts/lvm2_lvmetad_systemd_red_hat.service.in +++ b/scripts/lvm2_lvmetad_systemd_red_hat.service.in @@ -10,7 +10,6 @@ Conflicts=shutdown.target Type=forking NonBlocking=true ExecStart=@sbindir@/lvmetad -ExecStartPost=@sbindir@/lvm pvscan --cache ExecReload=@sbindir@/lvmetad -R Environment=SD_ACTIVATION=1 Restart=on-abort