Thank you, Andrea.
After following your instructions I re-enabled it back to check to see if
it will log any messages from shutdown but no. I've noticed however that
the computer no longer freezes at shutdown. I am not sure why but it looks
like the problem is gone now. I will try to debugg it deeper and if I have
any issues I will get back to you.
Jędrek
10 lip 2017 08:36 "Andrea Bolognani" <abologna(a)redhat.com> napisał(a):
On Sun, 2017-07-09 at 19:14 +0200, Dominik Psenner wrote:
> I'm not familiar with the libvirt codebase, but the
> extension of libvirt-guests.sh indicates that it is a
> shell script. Maybe you can modify it to find the spot
> where it hangs?
That's indeed the case. On Debian/Ubuntu system, the
script is installed as
/usr/lib/libvirt/libvirt-guests.sh
and you can definitely try debugging it if you're
familiar with shell scripting.
I installed both libvirt-bin and qemu-kvm in an Ubuntu
16.04 guest in an attempt to reproduce the issue you're
having but I was unsuccessful, so I'm afraid I can't
really help you much further.
It would probably be a good idea to open a downstream
bug report with your vendor, as they might have an
easier time reproducing the issue.
It's worth noting that the libvirt version included in
Ubuntu 16.04 is a bit old (it was released a year and
a half ago), however the libvirt-guests script hasn't
changed very much in the meantime.
--
Andrea Bolognani / Red Hat / Virtualization