Page MenuHomeSolus

libvirt 4.8.0 broken
Closed, ResolvedPublic

Description

Since updating libvirt I get this error when trying to start any VM:

sudo virsh start win10
error: Failed to start domain win10
error: internal error: Failed to load module '/usr/lib64/libvirt/storage-file/libvirt_storage_file_fs.so': /usr/lib/libvirt.so.0: version `LIBVIRT_PRIVATE_4.8.0' not found (required by /usr/lib64/libvirt/storage-file/libvirt_storage_file_fs.so)

I have tried reinstalling libvirt, no luck. Downgrading works fine again.

Event Timeline

brxck created this task.Nov 26 2018, 10:31 PM
brxck updated the task description. (Show Details)Nov 26 2018, 10:31 PM
Girtablulu edited projects, added Software; removed Lacks Project.Nov 26 2018, 10:34 PM
Girtablulu added a subscriber: Girtablulu.

could you please run

eopkg info libvirt

and tell us the version number you have installed?

After upgrade: libvirt, version: 4.8.0, release: 26
I should say I'm coming from 4.5.0.

Operation #321: upgrade
Date: 2018-11-26 15:01

    * libvirt is upgraded from 4.5.0-23-1-x86_64 to 4.8.0-26-1-x86_64.
    * libvirt-glib is upgraded from 1.0.0-11-1-x86_64 to 2.0.0-13-1-x86_64 with delta.
    * libvirt-python is upgraded from 4.5.0-14-1-x86_64 to 4.8.0-16-1-x86_64 with delta.

Try this:

sudo eopkg install --reinstall libvirt

No change in behavior after reinstall.

Did you reboot after the update?

Well now I'm feeling pretty stupid, things are working fine after a reboot... Thank you.

In the very least, libvirtd service would need to be restarted (rather than a reboot as the old libvirt.so.0 library is loaded by the service).

Is there any sane method to detect whether libvirtd is running? I could force the package update to restart it (if such a thing is sane to do) but many people don't have it running all the time (i.e. ME!).

You can always check

systemctl status libvirtd

but if there is also a kernel update involved its besser to kick off a message to restart the system to be safe.

systemctl is-active --quiet libvirtd && systemctl restart libvirtd.service

Was more what I was looking for. Putting here to document it (only returns exit status 0 when service is started, otherwise non-zero so doesn't continue)

DataDrake closed this task as Resolved.Dec 11 2018, 5:10 AM
DataDrake claimed this task.