It seems to be relative save, as it is already built to hand listening to the 
socket and back.
I've had an infinite loop of "virsh list" run and it never ran into an error 
when restarting many times in the background. The times changed, as you'd 
expect with usually
  real  0m0,043s
and inbetween on my restarts like
  real  0m0,678s
  real  0m0,598s
But never broken.
I even made it struggle to shut down which still worked but then was
  real  0m30,789s

So overall it seems restarting is rather safe nowadays.
And installing/upgrading such packages not a high frequency task.

The only thing that comes to mind is that we might want to delay and
unify these if many libvirt-daemon-driver-* packages install or upgrade
(they all build from the same source, so they'd usually all appear in
one go). With the goal of only restarting it once.

For upgrades we could even maybe achieve that by ordering any libvirt-
daemon-driver-* before the respective libvirt-daemon-system-systemd -
not 100% sure if that is cleaner as complex dependencies can be just
that - complex :-/. And since we need postinst restart for individual
"installs" anyway we might want to leave that complexity out.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2092350

Title:
  virt-manager does not notice libvirt-daemon-driver-lxc being installed
  until reboot

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/2092350/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to