<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<p>I suggest you to look for shutdown messages in the service log
file, e.g. /var/log/mysql/error.log . I expect all sane
distributions to at least try to stop all containers (as well as
other processes) gracefully and give them some time to finish
their work. However, I suppose it is possible to install and run
LXC in a way that containers won't close correctly, so it makes
sense to check first.<br>
</p>
<p><br>
</p>
<div class="moz-signature"><!-- signature start -->
--<br>
<br>
With Best Regards,<br>
Marat Khalili<br>
<br>
<!-- signature end --></div>
<div class="moz-cite-prefix">On 06/02/17 16:36, Brett 11 wrote:<br>
</div>
<blockquote
cite="mid:SN1PR13MB0527B69ACB9B07C648325AE9AE400@SN1PR13MB0527.namprd13.prod.outlook.com"
type="cite">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
<div id="divtagdefaultwrapper"
style="font-size:12pt;color:#000000;font-family:Calibri,Arial,Helvetica,sans-serif;"
dir="ltr">
<p>Hi guys. Forgive me if this question has been answered
before. I couldn't find it..</p>
<p><br>
</p>
<p>When I shutdown/reboot the HOST, does LXC gracefully shutdown
the containers and their services automatically? Or should
they always be shutdown manually or via script before HOST
shutdown/reboot?</p>
<p><br>
</p>
<p>I have a container running MySQL for example and have been
using 'lxc-stop' before I shutdown the host. I really don't
want to assume the host can gracefully shutdown the container
& MySQL so it would be nice to know 'for sure'.</p>
<p><br>
</p>
<p>Thanks to all who can help!</p>
<p>Brett<br>
</p>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
lxc-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:lxc-users@lists.linuxcontainers.org">lxc-users@lists.linuxcontainers.org</a>
<a class="moz-txt-link-freetext" href="http://lists.linuxcontainers.org/listinfo/lxc-users">http://lists.linuxcontainers.org/listinfo/lxc-users</a></pre>
</blockquote>
<br>
</body>
</html>