[packages/lvm2] never attempt stopping blk-availability on package actions
atler
atler at pld-linux.org
Fri Jan 22 16:48:16 CET 2021
commit e5ff17baff4fb84a0447367e9e47c6d8be51c72e
Author: Jan Palus <atler at pld-linux.org>
Date: Fri Jan 22 16:44:40 2021 +0100
never attempt stopping blk-availability on package actions
it's meant for system shutdown only -- stops all block devices
including unmounting, closing cryptsetup devices and disassembling mdadm
arrays
lvm2.spec | 3 ---
1 file changed, 3 deletions(-)
---
diff --git a/lvm2.spec b/lvm2.spec
index 5b14c4d..8bff6ea 100644
--- a/lvm2.spec
+++ b/lvm2.spec
@@ -447,15 +447,12 @@ rm -rf $RPM_BUILD_ROOT
%service lvm2-monitor restart
%systemd_post lvm2-monitor.service
/sbin/chkconfig --add blk-availability
-# no service blk-availability restart
-%systemd_post blk-availability.service
%if %{with lvmpolld}
%systemd_post lvm2-lvmpolld.socket
%endif
%preun
%systemd_preun lvm2-monitor.service
-%systemd_preun blk-availability.service
%if %{with lvmpolld}
%systemd_preun lvm2-lvmpolld.socket
%endif
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/lvm2.git/commitdiff/e5ff17baff4fb84a0447367e9e47c6d8be51c72e
More information about the pld-cvs-commit
mailing list