<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - systemd-nspawn: restarting systemd-nspawn@ container fails"
href="https://bugs.freedesktop.org/show_bug.cgi?id=87428#c1">Comment # 1</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - systemd-nspawn: restarting systemd-nspawn@ container fails"
href="https://bugs.freedesktop.org/show_bug.cgi?id=87428">bug 87428</a>
from <span class="vcard"><a class="email" href="mailto:net147@gmail.com" title="Jonathan Liu <net147@gmail.com>"> <span class="fn">Jonathan Liu</span></a>
</span></b>
<pre>It seems to only fail if you let the container run for at least 40 seconds
before rebooting it:
# systemctl restart systemd-nspawn@test; sleep 60; machinectl reboot test;
sleep 5; systemctl status systemd-nspawn@test | grep 'Active:'
Active: inactive (dead)
# systemctl restart systemd-nspawn@test; sleep 30; machinectl reboot test;
sleep 5; systemctl status systemd-nspawn@test | grep 'Active:'
Active: active (running) since Thu 2014-12-18 13:04:08 EST; 4s ago
# systemctl restart systemd-nspawn@test; sleep 45; machinectl reboot test;
sleep 5; systemctl status systemd-nspawn@test | grep 'Active:'
Active: inactive (dead)
# systemctl restart systemd-nspawn@test; sleep 37; machinectl reboot test;
sleep 5; systemctl status systemd-nspawn@test | grep 'Active:'
Active: active (running) since Thu 2014-12-18 13:06:27 EST; 4s ago
# systemctl restart systemd-nspawn@test; sleep 41; machinectl reboot test;
sleep 5; systemctl status systemd-nspawn@test | grep 'Active:'
Active: inactive (dead)
# systemctl restart systemd-nspawn@test; sleep 39; machinectl reboot test;
sleep 5; systemctl status systemd-nspawn@test | grep 'Active:'
Active: active (running) since Thu 2014-12-18 13:09:39 EST; 4s ago
# systemctl restart systemd-nspawn@test; sleep 40; machinectl reboot test;
sleep 5; systemctl status systemd-nspawn@test | grep 'Active:'
Active: inactive (dead)
# systemctl restart systemd-nspawn@test; sleep 40; machinectl reboot test;
sleep 5; systemctl status systemd-nspawn@test | grep 'Active:'
Active: inactive (dead)
# systemctl restart systemd-nspawn@test; sleep 40; machinectl reboot test;
sleep 5; systemctl status systemd-nspawn@test | grep 'Active:'
Active: inactive (dead)</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the QA Contact for the bug.</li>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>