[systemd-bugs] [Bug 87428] systemd-nspawn: restarting systemd-nspawn@ container fails

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Dec 17 18:13:22 PST 2014


https://bugs.freedesktop.org/show_bug.cgi?id=87428

--- Comment #1 from Jonathan Liu <net147 at gmail.com> ---
It seems to only fail if you let the container run for at least 40 seconds
before rebooting it:
# systemctl restart systemd-nspawn at test; sleep 60; machinectl reboot test;
sleep 5; systemctl status systemd-nspawn at test | grep 'Active:'
   Active: inactive (dead)
# systemctl restart systemd-nspawn at test; sleep 30; machinectl reboot test;
sleep 5; systemctl status systemd-nspawn at test | grep 'Active:'
   Active: active (running) since Thu 2014-12-18 13:04:08 EST; 4s ago
# systemctl restart systemd-nspawn at test; sleep 45; machinectl reboot test;
sleep 5; systemctl status systemd-nspawn at test | grep 'Active:'
   Active: inactive (dead)
# systemctl restart systemd-nspawn at test; sleep 37; machinectl reboot test;
sleep 5; systemctl status systemd-nspawn at test | grep 'Active:'
   Active: active (running) since Thu 2014-12-18 13:06:27 EST; 4s ago
# systemctl restart systemd-nspawn at test; sleep 41; machinectl reboot test;
sleep 5; systemctl status systemd-nspawn at test | grep 'Active:'
   Active: inactive (dead)
# systemctl restart systemd-nspawn at test; sleep 39; machinectl reboot test;
sleep 5; systemctl status systemd-nspawn at test | grep 'Active:'
   Active: active (running) since Thu 2014-12-18 13:09:39 EST; 4s ago
# systemctl restart systemd-nspawn at test; sleep 40; machinectl reboot test;
sleep 5; systemctl status systemd-nspawn at test | grep 'Active:'
   Active: inactive (dead)
# systemctl restart systemd-nspawn at test; sleep 40; machinectl reboot test;
sleep 5; systemctl status systemd-nspawn at test | grep 'Active:'
   Active: inactive (dead)
# systemctl restart systemd-nspawn at test; sleep 40; machinectl reboot test;
sleep 5; systemctl status systemd-nspawn at test | grep 'Active:'
   Active: inactive (dead)

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/systemd-bugs/attachments/20141218/6a82c7ce/attachment.html>


More information about the systemd-bugs mailing list