Virtualization randomly stopped working and libvirt stuff vanished after an update
Very strange issue that has come up after a system update installed a few days ago. I can no longer start Virtual Machine manager with an error stating "Unable to connect to libvirt qemu:///system. Failed to connect socket to '/var/run/libvirt/virtqemud-sock': No such file or directory". Attempting to navigate to that directory fails is it is no longer present there. Additionally attempting to run ujust setup-virtualization and selecting enable virtualization exits after printing a warning about updates taking longer. Additionally the libvirt user group is missing too.
Does anyone know what caused this to happen? Right now I'm re-running the ujust comand but selected to disable virtualization instead so that after I reboot I can re-enable it through the ujust command to see if that fixes the issue.
4 Replies
Update: after rebooting and running the ujust command to enable virtualization again, I rebooted like instructed. After a reboot I tried running Virtual Machine Manager again and it still fails with the exact same error message.
Another update: various CLI tools for virtualization are also missing, like virsh. The libvirt group is also still missing.
fedora package updated and removed libvirt as a dependency for virt-manager for whatever reason. havent had the chance to write a patch for the ujust to fix it as i have had my hands full all week
Solution
rpm-ostree install libvirt
for nowRan that command and rebooted after it was finished. Virtual Machine Manager is fully functional again and the missing stuff is back too. Thanks for the help!