Skip to contentSkip to conversation

master - systemd: remove ExecStartPost from lvm2-lvmetad.service.

PATCH Peter Rajnoha 1 participant 1 message Oct 8, 2012

lore
Share & tools
lore
#0 lore raw
Gitweb:        http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=7a64fff948278604d287ac96d9783a6b896de99b
Commit:        7a64fff948278604d287ac96d9783a6b896de99b
Parent:        ee4c75c8b790001cb05d85a44b2a894a91f4ba05
Author:        Peter Rajnoha <[email protected]>
AuthorDate:    Mon Oct 8 16:49:54 2012 +0200
Committer:     Peter Rajnoha <[email protected]>
CommitterDate: Mon Oct 8 16:49:54 2012 +0200

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 insertions(+), 1 deletions(-)
WHATS_NEW +1 -0
index 004f8b1..cf1b563 100644
@@ -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.
scripts/lvm2_lvmetad_systemd_red_hat.service.in +0 -1
index e527369..0150726 100644
@@ -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