diff --git a/SOURCES/bz2138825-fence_virtd-update-manpage.patch b/SOURCES/bz2138825-fence_virtd-update-manpage.patch new file mode 100644 index 0000000..8532bb5 --- /dev/null +++ b/SOURCES/bz2138825-fence_virtd-update-manpage.patch @@ -0,0 +1,29 @@ +From 6817d9ff018aa1af6fb9775bc9ae1f1cc07fa1ea Mon Sep 17 00:00:00 2001 +From: Oyvind Albrigtsen +Date: Mon, 31 Oct 2022 10:54:10 +0100 +Subject: [PATCH] fence_virtd: add link and non-user socket example to man page + +--- + man/fence_virt.conf.5 | 9 +++++++++ + 1 file changed, 9 insertions(+) + +diff --git a/man/fence_virt.conf.5 b/man/fence_virt.conf.5 +index c23ffd943..c8434ed65 100644 +--- a/man/fence_virt.conf.5 ++++ b/man/fence_virt.conf.5 +@@ -230,6 +230,15 @@ by a user running a cluster of virtual machines on a single desktop computer. + . + the URI to use when connecting to libvirt. + ++All libvirt URIs are accepted and passed as-is. ++ ++See https://libvirt.org/uri.html#remote-uris for examples. ++ ++NOTE: When VMs are run as non-root user the socket path must be set as part ++of the URI. ++ ++Example: qemu:///session?socket=/run/user//libvirt/virtqemud-sock ++ + .SS libvirt-qmf + + The libvirt-qmf plugin acts as a QMFv2 Console to the libvirt-qmf daemon in diff --git a/SPECS/fence-virt.spec b/SPECS/fence-virt.spec index 937aa3b..9366380 100644 --- a/SPECS/fence-virt.spec +++ b/SPECS/fence-virt.spec @@ -13,13 +13,14 @@ Name: fence-virt Summary: A pluggable fencing framework for virtual machines Version: 1.0.0 -Release: 3%{?numcomm:.%{numcomm}}%{?alphatag:.%{alphatag}}%{?dirty:.%{dirty}}%{?dist} +Release: 4%{?numcomm:.%{numcomm}}%{?alphatag:.%{alphatag}}%{?dirty:.%{dirty}}%{?dist} License: GPLv2+ Group: System Environment/Base URL: https://github.com/ClusterLabs/fence-virt Source0: %{name}-%{version}%{?rcver:%{rcver}}%{?numcomm:.%{numcomm}}%{?alphatag:-%{alphatag}}%{?dirty:-%{dirty}}.tar.bz2 Patch0: bz1927171-fence_xvm-fix-typo.patch Patch1: bz2132010-fence_virt-add-note-reboot-action.patch +Patch2: bz2138825-fence_virtd-update-manpage.patch %if 0%{?rhel} ExclusiveArch: i686 x86_64 @@ -51,6 +52,7 @@ Conflicts: fence-agents < 3.0.5-2 %setup -q -n %{name}-%{version}%{?rcver:%{rcver}}%{?numcomm:.%{numcomm}}%{?alphatag:-%{alphatag}}%{?dirty:-%{dirty}} %patch0 -p1 %patch1 -p1 +%patch2 -p1 %build ./autogen.sh @@ -179,6 +181,12 @@ are located on corosync cluster nodes. %{_libdir}/%{name}/cpg.so %changelog +* Mon Oct 31 2022 Oyvind Albrigtsen - 1.0.0-4 +- fence_virtd: add link to uri examples and uri w/socket path + example for when VMS are run as non-root user to manpage + + Resolves: rhbz#2138825 + * Wed Oct 5 2022 Oyvind Albrigtsen - 1.0.0-3 - fence_virt: add note that reboot-action doesnt power on nodes that are powered off