From e5ff17baff4fb84a0447367e9e47c6d8be51c72e Mon Sep 17 00:00:00 2001 From: Jan Palus Date: Fri, 22 Jan 2021 16:44:40 +0100 Subject: [PATCH] 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 -- 2.44.0