#940475 /usr/sbin/libvirtd: libvirtd fail to start with "internal error: Some activation file descriptors are unclaimed"

Package:
libvirt-daemon
Source:
libvirt
Description:
Virtualization daemon
Submitter:
Mirko
Date:
2019-11-28 17:54:03 UTC
Severity:
important
#940475#5
Date:
2019-09-16 08:27:21 UTC
From:
To:
Dear Maintainer,

after upgrade to libivrtd version 5.6.0 i'm not able to start libvirtd service.
I have followed instruction on thread: https://www.spinics.net/linux/fedora/libvir/msg189157.html
but without resolving.

Thanks in advance.

#940475#10
Date:
2019-10-07 12:40:17 UTC
From:
To:
Some info about the bug...

If i start libvirtd from the cli (with a simple "libvirtd") the daemon
is working correctly in foreground.

The problem seems related to systemd starting.


I have tried to find a solutions by myself but without success.


Thank you very much as always.

Mirko

#940475#15
Date:
2019-11-28 17:51:33 UTC
From:
To:
Hi,

In my case, this helped:

1. set unix_sock_dir = "/run/libvirt" in /etc/libvirt/libvirtd.conf
2. systemctl stop libvirtd-admin.socket libvirtd-ro.socket libvirtd-tcp.socket libvirtd-tls.socket libvirtd.socket virtlockd-admin.socket virtlockd.socket virtlogd-admin.socket virtlogd.socket libvirtd.service
3. systemctl start libvirtd.service

"service libvirtd start" still doesn't work.

(Additionally, one must be extra careful to manually stop all libvirt networks
and restart firewalld before attempting to restart libvirtd, otherwise it will
refuse to start the network afterwards, but that's a separate regression.)

Seems to me that the "[4dcbe93] Revert "Disable libvirtd socket activation"
(Closes: #935883)" entry in changelog is what broke this.

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=935883#8 claims that socket
activation actually works fine, but it does not, and the Revert should
probably be Reverted again.