- bsc#1212195 - libvirtd crashes when virt-manager connects
virt-manager qemu:///system on a fresh installation tumbleweed virtman-check-for-libvirt-modular-daemons.patch OBS-URL: https://build.opensuse.org/package/show/Virtualization/virt-manager?expand=0&rev=600
This commit is contained in:
parent
9ea5cedadb
commit
ca65b631ae
@ -1,3 +1,10 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Jun 13 16:48:17 MDT 2023 - carnold@suse.com
|
||||
|
||||
- bsc#1212195 - libvirtd crashes when virt-manager connects
|
||||
virt-manager qemu:///system on a fresh installation tumbleweed
|
||||
virtman-check-for-libvirt-modular-daemons.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Apr 25 06:14:10 MDT 2023 - carnold@suse.com
|
||||
|
||||
|
@ -102,6 +102,7 @@ Patch183: virtinst-add-oracle-linux-support.patch
|
||||
Patch184: virtinst-windows-server-detection.patch
|
||||
Patch185: virtman-fix-shared-disk-request-alignment-error.patch
|
||||
Patch186: virtman-language-fixes.patch
|
||||
Patch187: virtman-check-for-libvirt-modular-daemons.patch
|
||||
|
||||
BuildArch: noarch
|
||||
|
||||
|
16
virtman-check-for-libvirt-modular-daemons.patch
Normal file
16
virtman-check-for-libvirt-modular-daemons.patch
Normal file
@ -0,0 +1,16 @@
|
||||
References: bsc#1212195
|
||||
|
||||
--- virt-manager-4.1.0/virtManager/lib/connectauth.py.orig 2023-06-13 16:34:55.683255450 -0600
|
||||
+++ virt-manager-4.1.0/virtManager/lib/connectauth.py 2023-06-13 16:35:22.499256089 -0600
|
||||
@@ -206,6 +206,11 @@ def connect_error(conn, errmsg, tb, warn
|
||||
def setup_first_uri(config, tryuri):
|
||||
# Add /usr/sbin to the path in case non-root user launches virt-manager
|
||||
libvirtd_installed = bool(shutil.which("libvirtd", path=os.environ['PATH'] + os.pathsep + "/usr/sbin"))
|
||||
+ # Check for new modular libvirt daemons
|
||||
+ if libvirtd_installed is False:
|
||||
+ libvirtd_installed = bool(shutil.which("virtqemud", path=os.environ['PATH'] + os.pathsep + "/usr/sbin"))
|
||||
+ if libvirtd_installed is False:
|
||||
+ libvirtd_installed = bool(shutil.which("virtxend", path=os.environ['PATH'] + os.pathsep + "/usr/sbin"))
|
||||
if config.CLITestOptions.fake_no_libvirtd:
|
||||
libvirtd_installed = False
|
||||
|
Loading…
Reference in New Issue
Block a user