summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorMarian Csontos <mcsontos@redhat.com>2018-07-24 14:50:52 +0200
committerMarian Csontos <mcsontos@redhat.com>2018-07-24 14:50:52 +0200
commitbf4be8066974d8a41bbb9012bd6ba8c8595d2d9c (patch)
treea29913c07fe78203a1916f896c34c0a94b23d631 /spec
parent2214dc12c34890c78b05456f58d0aa5d6dd08f4c (diff)
downloadlvm2-bf4be8066974d8a41bbb9012bd6ba8c8595d2d9c.tar.gz
spec: Remove lvmetad
Diffstat (limited to 'spec')
-rw-r--r--spec/build.inc2
-rw-r--r--spec/packages.inc24
-rw-r--r--spec/source.inc2
3 files changed, 0 insertions, 28 deletions
diff --git a/spec/build.inc b/spec/build.inc
index 5fb38f7a8..41cf01ef7 100644
--- a/spec/build.inc
+++ b/spec/build.inc
@@ -21,8 +21,6 @@
%enableif %{enable_cmirror} cmirrord
%enableif %{enable_udev} udev_sync
%enableif %{enable_profiling} profiling
-%global enable_lvmetad %(if echo %{services} | grep -q lvmetad; then echo 1; else echo 0; fi)
-%enableif %{enable_lvmetad} lvmetad
%global enable_lvmpolld %(if echo %{services} | grep -q lvmpolld; then echo 1; else echo 0; fi)
%enableif %{enable_lvmpolld} lvmpolld
%global enable_lvmlockd %(if echo %{services} | grep -q lvmlockd; then echo 1; else echo 0; fi)
diff --git a/spec/packages.inc b/spec/packages.inc
index bf2432a56..ba9bd47f0 100644
--- a/spec/packages.inc
+++ b/spec/packages.inc
@@ -3,9 +3,6 @@
%post
%daemon_reload
%enable -s monitor -t service
-%if %{have_service lvmetad}
-%enable -s lvmetad -t socket
-%endif
%if %{have_service lvmpolld}
%enable -s lvmpolld -t socket
%endif
@@ -14,16 +11,10 @@
%if %{have_service lvmpolld}
%disable -s lvmpolld -t socket
%endif
-%if %{have_service lvmetad}
-%disable -s lvmetad -t socket
-%endif
%disable -s monitor -t service
%postun
%try_restart -s monitor -t service
-%if %{have_service lvmetad}
-%try_restart -s lvmetad -t service
-%endif
%if %{have_service lvmpolld}
%try_restart -s lvmpolld -t service
%endif
@@ -90,9 +81,6 @@ fi
%{_sbindir}/vgs
%{_sbindir}/vgscan
%{_sbindir}/vgsplit
-%if %{have_service lvmetad}
- %{_sbindir}/lvmetad
-%endif
%if %{have_service lvmpolld}
%{_sbindir}/lvmpolld
%endif
@@ -164,10 +152,6 @@ fi
%endif
%if %{enable_udev}
%{_udevdir}/11-dm-lvm.rules
- %if %{have_service lvmetad}
- %{_mandir}/man8/lvmetad.8.gz
- %{_udevdir}/69-dm-lvm-metad.rules
- %endif
%endif
%dir %{_sysconfdir}/lvm
%ghost %{_sysconfdir}/lvm/cache/.cache
@@ -191,11 +175,6 @@ fi
%{_unitdir}/blk-availability.service
%{_unitdir}/lvm2-monitor.service
%attr(555, -, -) %{_prefix}/lib/systemd/system-generators/lvm2-activation-generator
- %if %{have_service lvmetad}
- %{_unitdir}/lvm2-lvmetad.socket
- %{_unitdir}/lvm2-lvmetad.service
- %{_unitdir}/lvm2-pvscan@.service
- %endif
%if %{have_service lvmpolld}
%{_unitdir}/lvm2-lvmpolld.service
%{_unitdir}/lvm2-lvmpolld.socket
@@ -203,9 +182,6 @@ fi
%else
%{_sysconfdir}/rc.d/init.d/blk-availability
%{_sysconfdir}/rc.d/init.d/lvm2-monitor
- %if %{have_service lvmetad}
- %{_sysconfdir}/rc.d/init.d/lvm2-lvmetad
- %endif
%if %{have_service lvmpolld}
%{_sysconfdir}/rc.d/init.d/lvm2-lvmpolld
%endif
diff --git a/spec/source.inc b/spec/source.inc
index 6a485efa8..c44d6bcd1 100644
--- a/spec/source.inc
+++ b/spec/source.inc
@@ -13,14 +13,12 @@
%global enable_systemd 1
%global enable_cmirror 1
%global enable_lvmlockd 1
-%global enable_lvmetad 1
%global enable_lvmpolld 1
%global enable_dmfilemapd 0
#%global enable_lvmlockd_dlm 0
#%global enable_lvmlockd_sanlock 0
%if %{enable_udev}
-%service lvmetad 1
%service lvmpolld 1
%endif