<div dir="ltr"><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">Dominik,</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">What's the point of including a software to an OS that does not work?</div></div><div class="gmail_extra"><br><div class="gmail_quote">2017-07-08 18:34 GMT+02:00 Dominik Psenner <span dir="ltr"><<a href="mailto:dpsenner@gmail.com" target="_blank">dpsenner@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">I just wanted to point out that you're only resolving the symptom, not the actual cause. At the same time I'm afraid that I don't know what the cause of your problems is. If you don't want to run virsh guests you probably won't need the service, but then what's the point of having libvirt-bin installed in the first place? :-)<div><br></div><div>Cheers</div></div><div class="gmail_extra"><div><div class="h5"><br><div class="gmail_quote">2017-07-07 23:23 GMT+02:00 Jędrek Domański <span dir="ltr"><<a href="mailto:jedrek.domanski@gmail.com" target="_blank">jedrek.domanski@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">Dominik,</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">As far as I am concerned the command provided by Andrea disables libvirt-guests service at boot.</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div><div class="gmail_default"><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">jedrek@Home:~$ service libvirt-guests status<br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">● libvirt-guests.service - Suspend Active Libvirt Guests</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">   Loaded: loaded (/lib/systemd/system/libvirt-g<wbr>uests.service; <b>disabled</b>; vendor preset: enabled)</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">   Active: inactive (dead)</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">     Docs: man:libvirtd(8)</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">           <a href="http://libvirt.org" target="_blank">http://libvirt.org</a></div><div style="font-family:arial,helvetica,sans-serif"><br></div><div style="font-family:arial,helvetica,sans-serif">When you enable/disable a service <b>sysctemctl </b>creates a symlink of a service into the location on disk where systemd looks for autostart files (usually /etc/systemd/system/some_targe<wbr>t.target.wants</div><div style="font-family:arial,helvetica,sans-serif"><br></div><div><div><font face="arial, helvetica, sans-serif">jedrek@Home:~$ ls /etc/systemd/system/ | grep libvirt*</font></div><div><font face="arial, helvetica, sans-serif">libvirtd.service</font></div></div><div style="font-family:arial,helvetica,sans-serif"><br></div><div style="font-family:arial,helvetica,sans-serif">No libvirt-guests.service</div><div style="font-family:arial,helvetica,sans-serif"><br></div><div style="font-family:arial,helvetica,sans-serif">I know this is just a workaround but what's wrong with this?</div><div style="font-family:arial,helvetica,sans-serif"><br></div><div style="font-family:arial,helvetica,sans-serif"><br></div></div></div><div class="m_489605109274266030HOEnZb"><div class="m_489605109274266030h5"><div class="gmail_extra"><br><div class="gmail_quote">2017-07-07 19:13 GMT+02:00 Dominik Psenner <span dir="ltr"><<a href="mailto:dpsenner@gmail.com" target="_blank">dpsenner@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Note that this disables the shutdown of libvirt guests when the host shuts down.</div><div class="gmail_extra"><div><div class="m_489605109274266030m_3541600639834390631h5"><br><div class="gmail_quote">2017-07-07 16:20 GMT+02:00 Jędrek Domański <span dir="ltr"><<a href="mailto:jedrek.domanski@gmail.com" target="_blank">jedrek.domanski@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">Andrea,</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">You are a genius!!! :D It's worked :)) Thank yo so much!!! XD</div></div><div class="m_489605109274266030m_3541600639834390631m_4220321199909326956HOEnZb"><div class="m_489605109274266030m_3541600639834390631m_4220321199909326956h5"><div class="gmail_extra"><br><div class="gmail_quote">2017-07-07 12:14 GMT+02:00 Andrea Bolognani <span dir="ltr"><<a href="mailto:abologna@redhat.com" target="_blank">abologna@redhat.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span>On Fri, 2017-07-07 at 09:46 +0200, Jędrek Domański wrote:<br>
> Hi Dominik,<br>
> <br>
> So what is going on on my computer with the script libvirt-guests.sh?<br>
> Why is it hanging on it? How should I address this problem?<br>
<br>
</span>Not sure what the root cause of your problem is, but you<br>
can use<br>
<br>
  # systemctl disable libvirt-guests<br>
<br>
to verify if the script is really what causes shutdown<br>
to hang. It might very well be that it's merely the last<br>
thing producing output before the actual issue occurs.<br>
<span class="m_489605109274266030m_3541600639834390631m_4220321199909326956m_-5003496856355289139HOEnZb"><font color="#888888"><br>
-- <br>
Andrea Bolognani / Red Hat / Virtualization<br>
</font></span></blockquote></div><br></div>
</div></div></blockquote></div><br><br clear="all"><div><br></div></div></div><span class="m_489605109274266030m_3541600639834390631HOEnZb"><font color="#888888">-- <br><div class="m_489605109274266030m_3541600639834390631m_4220321199909326956gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">Dominik Psenner<br></div></div>
</font></span></div>
</blockquote></div><br></div>
</div></div></blockquote></div><br><br clear="all"><div><br></div></div></div><span class="HOEnZb"><font color="#888888">-- <br><div class="m_489605109274266030gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">Dominik Psenner<br></div></div>
</font></span></div>
</blockquote></div><br></div>