Add Fix-fence_virtd.service-stop-failed.patch
(cherry picked from commit 920ce4a549739ab11985322c33e1bd54180c9733)
This commit is contained in:
parent
b25a9b791e
commit
2d005fe45b
24
Fix-fence_virtd.service-stop-failed.patch
Normal file
24
Fix-fence_virtd.service-stop-failed.patch
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
From 06a6cd75ae1b99b956e8135b7478dd9e0f7bbdb9 Mon Sep 17 00:00:00 2001
|
||||||
|
From: jxy_git <jiangxinyu@kylinos.cn>
|
||||||
|
Date: Wed, 24 Aug 2022 17:29:21 +0800
|
||||||
|
Subject: [PATCH] Fix fence_virtd.service stop failed
|
||||||
|
|
||||||
|
---
|
||||||
|
fence_virtd.service.in | 1 +
|
||||||
|
1 file changed, 1 insertion(+)
|
||||||
|
|
||||||
|
diff --git a/fence_virtd.service.in b/fence_virtd.service.in
|
||||||
|
index 14c2b3a..766c986 100644
|
||||||
|
--- a/fence_virtd.service.in
|
||||||
|
+++ b/fence_virtd.service.in
|
||||||
|
@@ -10,6 +10,7 @@ After=corosync.service
|
||||||
|
|
||||||
|
Requires=basic.target
|
||||||
|
Requires=network.target
|
||||||
|
+Requires=libvirtd.service
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=multi-user.target
|
||||||
|
--
|
||||||
|
2.33.0
|
||||||
|
|
||||||
@ -1,6 +1,6 @@
|
|||||||
Name: fence-virt
|
Name: fence-virt
|
||||||
Version: 0.4.0
|
Version: 0.4.0
|
||||||
Release: 10
|
Release: 11
|
||||||
Summary: A pluggable fencing framework for virtual machines
|
Summary: A pluggable fencing framework for virtual machines
|
||||||
Group: System Environment/Base
|
Group: System Environment/Base
|
||||||
License: GPLv2+
|
License: GPLv2+
|
||||||
@ -14,13 +14,14 @@ Patch1: bz1624110-2-fence_virt-fix-coredump.patch
|
|||||||
Patch2: bz1668357-fence_virt-dont-report-success-incorrect-parameter.patch
|
Patch2: bz1668357-fence_virt-dont-report-success-incorrect-parameter.patch
|
||||||
Patch3: bz1766993-fence_virtd-1-fix-segfault-no-domains.patch
|
Patch3: bz1766993-fence_virtd-1-fix-segfault-no-domains.patch
|
||||||
Patch4: bz1766993-fence_virtd-2-return-mainloop-on-interrupt.patch
|
Patch4: bz1766993-fence_virtd-2-return-mainloop-on-interrupt.patch
|
||||||
|
Patch5: Fix-fence_virtd.service-stop-failed.patch
|
||||||
|
|
||||||
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
|
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
|
||||||
|
|
||||||
BuildRequires: corosynclib-devel libvirt-devel
|
BuildRequires: corosynclib-devel libvirt-devel
|
||||||
BuildRequires: automake autoconf libxml2-devel nss-devel nspr-devel
|
BuildRequires: automake autoconf libxml2-devel nss-devel nspr-devel
|
||||||
BuildRequires: flex bison libuuid-devel
|
BuildRequires: flex bison libuuid-devel
|
||||||
BuildRequires: gcc-c++
|
BuildRequires: gcc-c++ make
|
||||||
|
|
||||||
BuildRequires: systemd-units
|
BuildRequires: systemd-units
|
||||||
Requires(post): systemd-sysv systemd-units
|
Requires(post): systemd-sysv systemd-units
|
||||||
@ -104,6 +105,7 @@ are located on corosync cluster nodes.
|
|||||||
%patch2 -p1 -F1
|
%patch2 -p1 -F1
|
||||||
%patch3 -p1
|
%patch3 -p1
|
||||||
%patch4 -p1
|
%patch4 -p1
|
||||||
|
%patch5 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
./autogen.sh
|
./autogen.sh
|
||||||
@ -195,6 +197,9 @@ fi
|
|||||||
%{_libdir}/%{name}/cpg.so
|
%{_libdir}/%{name}/cpg.so
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Aug 24 2022 jiangxinyu <jiangxinyu@kylinos.cn> - 0.4.0-11
|
||||||
|
- Add Fix-fence_virtd.service-stop-failed.patch
|
||||||
|
|
||||||
* Mon Feb 28 2022 jiangxinyu <jiangxinyu@kylinos.cn> - 0.4.0-10
|
* Mon Feb 28 2022 jiangxinyu <jiangxinyu@kylinos.cn> - 0.4.0-10
|
||||||
- Fix fence_virtd.service stop failed
|
- Fix fence_virtd.service stop failed
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user