Hi Doug, thanks for the report - and yes I agree it shouldn't waste time on that, but it isn't that easy IMHO.
Users can configure in /etc/default/libvirt-guests for any URI including remote ones. Therefore there can be no local check to the service that will make a clear decision if we can skip trying to connect. But I'd expect that 99,9..% of the users have still "defult" in the URI and then we could do the suggested. I've submitted a patch for this , lets see what others think. : https://www.redhat.com/archives/libvir- list/2019-December/msg00079.html ** Changed in: libvirt (Ubuntu) Status: New => Triaged ** Changed in: libvirt (Ubuntu) Importance: Undecided => Low -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1854653 Title: during shutdown libvirt-guests.sh shouldn't run if libvirtd isn't running To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1854653/+subscriptions -- ubuntu-bugs mailing list email@example.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs