diff --git a/lvm2.changes b/lvm2.changes index e415c33..428fd79 100644 --- a/lvm2.changes +++ b/lvm2.changes @@ -1,7 +1,8 @@ ------------------------------------------------------------------- Wed May 28 14:34:04 UTC 2014 - meissner@suse.com -- add missing %pre section +- add missing %pre section, specify all sockets and services in + all 4 calls. ------------------------------------------------------------------- Mon May 12 08:11:08 UTC 2014 - lwang@suse.com diff --git a/lvm2.spec b/lvm2.spec index df89590..eed307c 100644 --- a/lvm2.spec +++ b/lvm2.spec @@ -245,14 +245,12 @@ mv README.csm-converter .. popd %pre -%service_add_pre blk-availability.service lvm2-monitor.service -%service_add_pre lvm2-lvmetad.socket +%service_add_pre blk-availability.service lvm2-monitor.service lvm2-lvmetad.socket lvm2-lvmetad.service %post /sbin/ldconfig %{?regenerate_initrd_post} -%service_add_post blk-availability.service lvm2-monitor.service -%service_add_post lvm2-lvmetad.socket +%service_add_post blk-availability.service lvm2-monitor.service lvm2-lvmetad.socket lvm2-lvmetad.service %posttrans %{?regenerate_initrd_posttrans} @@ -262,7 +260,7 @@ popd %postun /sbin/ldconfig -%service_del_postun lvm2-lvmetad.service +%service_del_postun lvm2-lvmetad.service blk-availability.service lvm2-monitor.service lvm2-lvmetad.socket %files %defattr(-,root,root)