summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeter Rajnoha <prajnoha@redhat.com>2012-10-08 16:49:54 +0200
committerPeter Rajnoha <prajnoha@redhat.com>2012-10-08 16:49:54 +0200
commit7a64fff948278604d287ac96d9783a6b896de99b (patch)
tree182c6093d6dfcbb37fc4e981ca2ddb3b0669d5d2
parentee4c75c8b790001cb05d85a44b2a894a91f4ba05 (diff)
downloadlvm2-7a64fff948278604d287ac96d9783a6b896de99b.tar.gz
lvm2-7a64fff948278604d287ac96d9783a6b896de99b.tar.xz
lvm2-7a64fff948278604d287ac96d9783a6b896de99b.zip
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.
-rw-r--r--WHATS_NEW1
-rw-r--r--scripts/lvm2_lvmetad_systemd_red_hat.service.in1
2 files changed, 1 insertions, 1 deletions
diff --git a/WHATS_NEW b/WHATS_NEW
index 004f8b11..cf1b5632 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 e527369c..0150726e 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