Re: [systemd-devel] [PATCH] shutdown: do reboot() for openvz container

2012-09-12 Thread Kir Kolyshkin
On 09/11/2012 05:24 AM, Lennart Poettering wrote: 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

[systemd-devel] [PATCH] shutdown: do reboot() for openvz container

2012-08-26 Thread Kir Kolyshkin
brings the reboot() back for OpenVZ container. Originally found when using Fedora 17 container (systemd-44-17.fc17) and reported to OpenVZ bugzilla: http://bugzilla.openvz.org/2336 Reported-by: Dāvis Cc: Konstantin Volckov Cc: Alexander Fenster Signed-off-by: Kir Kolyshkin --- src/core

[systemd-devel] [PATCH] shutdown: do reboot() for openvz container

2012-08-26 Thread Kir Kolyshkin
From: Kir Kolyshkin 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