From 541e68bbf42cd38eb94dc813c080a8e20d3bd96f Mon Sep 17 00:00:00 2001 From: jxy_git Date: Fri, 29 Mar 2024 17:57:28 +0800 Subject: [PATCH] Fix fence_virtd.service stop failed (cherry picked from commit 4369c400d793f8b12d93009a01f3405501e579b9) --- fence-agents.spec | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/fence-agents.spec b/fence-agents.spec index acaaefa..a884301 100644 --- a/fence-agents.spec +++ b/fence-agents.spec @@ -6,7 +6,7 @@ Name: fence-agents Summary: Set of unified programs capable of host isolation ("fencing") Version: 4.12.1 -Release: 1 +Release: 2 License: GPLv2+ and LGPLv2+ Group: System Environment/Base URL: https://github.com/ClusterLabs/fence-agents @@ -117,6 +117,7 @@ BuildRequires: systemd-units %setup -q -n %{name}-%{version} # prevent compilation of something that won't get used anyway sed -i.orig 's|FENCE_ZVM=1|FENCE_ZVM=0|' configure.ac +sed -i '/Requires=network.target/a Requires=libvirtd.service' agents/virt/fence_virtd.service.in %build export PYTHON="%{__python3}" @@ -1124,6 +1125,9 @@ are located on corosync cluster nodes. %{_libdir}/fence-virt/cpg.so %changelog +* Fri Mar 29 2024 jiangxinyu - 4.12.1-2 +- Fix fence_virtd.service stop failed + * Tue Feb 27 2024 jiangxinyu - 4.12.1-1 - Update package to version 4.12.1 -- Gitee