On Fri, 24.08.12 16:22, Kir Kolyshkin (k...@openvz.org) wrote:

> Proper handling of reboot() syscall issued from the inside of a container
> was always supported by OpenVZ kernels. More to say, OpenVZ relies on the fact
> that container calls reboot in order to distinguish between shutdown and
> reboot-- in the latter case container is being restarted.
>
> This patch brings the reboot() back for OpenVZ container.

Turns out the normal Linux containers understand reboot() just fine
too. I have now reworked the code to handle this properly, without any
special casing of any implementation. This should fix your issue.

Thanks for pointing this out!

Lennart

-- 
Lennart Poettering - Red Hat, Inc.
_______________________________________________
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to