Skip to content

Consider applying uuid patch

Description:

Version 10.7.0 broke --uuid option of virsh list command. This shows up in libvirt-guests.service , which relies on this command to create the list of virtual machines to restore on start. In effect, in version 10.7.0 this list at /var/lib/libvirt/libvirt-guests is corrupted.

There's a fix applied to master branch https://gitlab.com/libvirt/libvirt/-/commit/008214842011d77fa4feda8d1ff586d29791f8ab ; please consider applying this patch in 10.7.0-2

Additional info:

Steps to reproduce:

  1. start some virtual machine(s) with virsh start
  2. (optionally) start libvirt-guests.service
  3. stop libvirt-guests.service
  4. check the content of /var/lib/libvirt/libvirt-guests (should be default followed by a series of UUIDs, each corresponding to a virtual machine running before libvirt-guests.service stopped)
  5. start libvirt-guests.service
  6. see errors in system log
Edited by Bronek Kozicki
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information