On 7/9/23 02:49, Jeffrey Walton wrote:
On Sun, Jul 9, 2023 at 12:16 AM ToddAndMargo via users
<users@lists.fedoraproject.org> wrote:

On 7/8/23 20:57, Samuel Sieb wrote:
On 7/8/23 18:45, ToddAndMargo via users wrote:
# libvirtd --daemon
libvirtd: /lib64/libvirt.so.0: version `LIBVIRT_PRIVATE_9.5.0' not
found (required by /lib64/libvirt-lxc.so.0)
libvirtd: /lib64/libvirt.so.0: version `LIBVIRT_PRIVATE_9.5.0' not
found (required by /lib64/libvirt-qemu.so.0)

Actually, it might be the right "libvirtd", but the problem appears to
be in "/lib64/libvirt-lxc.so.0" and "/lib64/libvirt-qemu.so.0" which are
likely pointing to non-Fedora libraries.



# rpm -qf /usr/lib64/libvirt.so.0.9005.0
file /usr/lib64/libvirt.so.0.9005.0 is not owned by any package

Note: but it is required for libvirt-lxc.so.0
and libvirt-qemu.so.0.  see below

# rm libvirt.so.0
rm: remove symbolic link 'libvirt.so.0'? y

# ln -s libvirt.so.0.9000.0 libvirt.so.0

# libvirtd --daemon
libvirtd: /lib64/libvirt.so.0: version `LIBVIRT_PRIVATE_9.5.0' not found
(required by /lib64/libvirt-lxc.so.0)
libvirtd: /lib64/libvirt.so.0: version `LIBVIRT_PRIVATE_9.5.0' not found
(required by /lib64/libvirt-qemu.so.0)



AHHH POOP!!  Right under my nose!!!!

The symlinks tool will remove old/stale symlinks after an upgrade.
https://docs.fedoraproject.org/en-US/quick-docs/dnf-system-upgrade/#sect-clean-up-old-symlinks
.

Actually this is two bugs in libvirtd.

When you reboot, it recreates the  symbolic
links for


libvirt-admin.so.0.9005.0
libvirt-lxc.so.0.9005.0
libvirt-qemu.so.0.9005.0
libvirt.so.0.9005.0

Should have been stayed where  put them, which was
9000.  But libvirt linked to the latest version,
not the version it was on, which is the first bug.

9005 came from upstream and Fedora repo not removing
their garbage when when dnf remove was issued, which
is the second bug.

I manually removed all the 9005's, rebooted, and
happy camping returned.



libvirt-lxc.so.0 and and libvirt-qemu.so.0's links
are bad:

# ls -al libvirt-lxc.so*
lrwxrwxrwx. 1 root root    16 Jan 18 16:00 libvirt-lxc.so ->
libvirt-lxc.so.0
lrwxrwxrwx. 1 root root    23 Jul  8 20:55 libvirt-lxc.so.0 ->
libvirt-lxc.so.0.9005.0
-rwxr-xr-x. 1 root root 20384 Jan 18 16:00 libvirt-lxc.so.0.9000.0
-rwxr-xr-x. 1 root root 20288 Jul  4 17:00 libvirt-lxc.so.0.9005.0

# rm libvirt-lxc.so.0
rm: remove symbolic link 'libvirt-lxc.so.0'? y

# ln -s libvirt-lxc.so.0.9000.0 libvirt-lxc.so.0

# ls -al libvirt-qemu.so*
lrwxrwxrwx. 1 root root    17 Jan 18 16:00 libvirt-qemu.so ->
libvirt-qemu.so.0
lrwxrwxrwx. 1 root root    24 Jul  8 20:55 libvirt-qemu.so.0 ->
libvirt-qemu.so.0.9005.0
-rwxr-xr-x. 1 root root 20288 Jan 18 16:00 libvirt-qemu.so.0.9000.0
-rwxr-xr-x. 1 root root 20192 Jul  4 17:00 libvirt-qemu.so.0.9005.0

# rm libvirt-qemu.so.0
rm: remove symbolic link 'libvirt-qemu.so.0'? y

# ln -s libvirt-qemu.so.0.9000.0 libvirt-qemu.so.0
[root@rn6 lib64]# ls -al libvirt-qemu.so*
lrwxrwxrwx. 1 root root    17 Jan 18 16:00 libvirt-qemu.so ->
libvirt-qemu.so.0
lrwxrwxrwx. 1 root root    24 Jul  8 21:09 libvirt-qemu.so.0 ->
libvirt-qemu.so.0.9000.0
-rwxr-xr-x. 1 root root 20288 Jan 18 16:00 libvirt-qemu.so.0.9000.0
-rwxr-xr-x. 1 root root 20192 Jul  4 17:00 libvirt-qemu.so.0.9005.0

# systemctl start  libvirtd
<no griping!!!!>

And status shows good too !!

"virsh-manager" still does ont work. but...

And restarting libvirtd.service and it is back
to complaining again.  But I will reboot
and get back

Jeff

_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to