Fix fence_virtd.service stop failed

This commit is contained in:
jxy_git 2024-03-29 17:57:28 +08:00
parent 12ddf384a3
commit 4369c400d7

View File

@ -6,7 +6,7 @@
Name: fence-agents Name: fence-agents
Summary: Set of unified programs capable of host isolation ("fencing") Summary: Set of unified programs capable of host isolation ("fencing")
Version: 4.12.1 Version: 4.12.1
Release: 1 Release: 2
License: GPLv2+ and LGPLv2+ License: GPLv2+ and LGPLv2+
Group: System Environment/Base Group: System Environment/Base
URL: https://github.com/ClusterLabs/fence-agents URL: https://github.com/ClusterLabs/fence-agents
@ -117,6 +117,7 @@ BuildRequires: systemd-units
%setup -q -n %{name}-%{version} %setup -q -n %{name}-%{version}
# prevent compilation of something that won't get used anyway # prevent compilation of something that won't get used anyway
sed -i.orig 's|FENCE_ZVM=1|FENCE_ZVM=0|' configure.ac 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 %build
export PYTHON="%{__python3}" export PYTHON="%{__python3}"
@ -1124,6 +1125,9 @@ are located on corosync cluster nodes.
%{_libdir}/fence-virt/cpg.so %{_libdir}/fence-virt/cpg.so
%changelog %changelog
* Fri Mar 29 2024 jiangxinyu <jiangxinyu@kylinos.cn> - 4.12.1-2
- Fix fence_virtd.service stop failed
* Tue Feb 27 2024 jiangxinyu <jiangxinyu@kylinos.cn> - 4.12.1-1 * Tue Feb 27 2024 jiangxinyu <jiangxinyu@kylinos.cn> - 4.12.1-1
- Update package to version 4.12.1 - Update package to version 4.12.1