virt-manager does not notice libvirt-daemon-driver-lxc being installed until reboot
Bug #2092350 reported by
hanshenrik
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
libvirt (Ubuntu) |
Fix Released
|
Undecided
|
Christian Ehrhardt | ||
Noble |
Won't Fix
|
Undecided
|
Unassigned | ||
Oracular |
Won't Fix
|
Undecided
|
Unassigned | ||
virt-manager (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
If you install libvirt-
restarting virt-manager does nothing. killall virt-manager; does nothing.
it insist the lxc-driver is not available, until you reboot the system, then it notice.
Noticed on ubuntu 24.04 virt-manager 4.1.0 libvirtd (libvirt) 10.0.0 libvirt-
Changed in libvirt (Ubuntu): | |
assignee: | Sergio Durigan Junior (sergiodj) → Lukas Märdian (slyon) |
To post a comment you must log in.
Hi,
since it is essentially split feature of libvirt I'd assume it is only detected when libvirt restarts.
virt-manager only asked libvirt what it can provide, and that hasn't been changed.
Could you check if - instead of a hard reboot - a restart of libvirtd would re-detect it as well?
If so we might need to balance the risk of restarting that service vs the comfort of any sich split out features to be detected right on install. I say balance as these packages could restart libvirtd on install to trigger it being detected.
For now, I'd appreciate if you could check if
$ systemctl restart libvirtd.service
Would make it be detected in your case
P.S. An alternative is to check with upstream if there is any intent for runtime detection of new features. Now that we split out more (split daemons in 25.04) this might be even more worth to sort out.
P.P.S. and maybe mention which release you are on, as even if it helps and we make the change it likely will only change (as behavior changes) in new releases and for old ones (to avoid regression) might be better as documentation entry.