Bug 27897

Summary: Missing dependency for libvirtd in libguestfs
Product: Mageia Reporter: Mark Dawson Butterworth <mageia>
Component: RPM PackagesAssignee: Joseph Wang <joequant>
Status: RESOLVED OLD QA Contact:
Severity: normal    
Priority: Normal CC: mageia, mageia
Version: 7   
Target Milestone: ---   
Hardware: All   
OS: Linux   
Whiteboard: Cauldron TOO?
Source RPM: libguestfs-1.38.6-4.mga7.src.rpm CVE:
Status comment:

Description Mark Dawson Butterworth 2020-12-22 00:58:45 CET
Description of problem:

On trying to mount a vhd using guestmount, get the following error every time:

libvirt: XML-RPC error : Failed to connect socket to '/run/user/1000/libvirt/libvirt-sock': No such file or directory
libguestfs: error: could not connect to libvirt (URI = qemu:///session): Failed to connect socket to '/run/user/1000/libvirt/libvirt-sock': No such file or directory [code=38 int1=2]

This is because the daemon does not exist.

Solution is to install libvirt-utils then start the daemon, so this probably should be included in the dependency list
Mark Dawson Butterworth 2020-12-22 00:59:19 CET

CC: (none) => mageia

Comment 1 Lewis Smith 2020-12-25 21:30:51 CET
Thank you for this report.
I can find no reference, even recursively, between 'libguestfs' and 'libvirt-utils' (in SRPM libvirt) on Mageia 8/Cauldron (noting that the bug is for M7), so have added M8.

Assigning this to Joseph for 'libguestfs'; please re-assign it to pkg-bugs if you prefer.
CC'ing NicolasL re M7 'libvirt' not so long ago.

Whiteboard: (none) => Cauldron TOO?
CC: (none) => mageia
Assignee: bugsquad => joequant

Comment 2 Aurelien Oudelet 2021-07-06 13:15:36 CEST
Mageia 7 is EOL since July 1st 2021.
There will not have any further bugfix for this release.

You are encouraged to upgrade to Mageia 8 as soon as possible.

@reporter, if this bug still apply with Mageia 8, please let us know it.

@packager, if you work on the Mageia 7 version of your package, please check the Mageia 8 package if issue is also present. In this case, please fix the Mageia 8 version instead.

This bug report will be closed OLD if there is no further notice within 1st September 2021.
Comment 3 Marja Van Waes 2021-09-07 14:09:18 CEST
Hi bug reporter and hi assignee and others involved,

Please reopen this bug report if it is still valid for Mageia 8 or 9(cauldron), and change "Version:" in the upper left of this report accordingly.

This report is being closed as OLD because it was filed against Mageia 7, for which  support ended on June 30th 2021.

Thanks,
Marja

Status: NEW => RESOLVED
Resolution: (none) => OLD