]> git.ipfire.org Git - thirdparty/lxc.git/commit
fix reboot support detection
authorSerge Hallyn <serge.hallyn@canonical.com>
Thu, 9 Feb 2012 16:48:18 +0000 (10:48 -0600)
committerDaniel Lezcano <daniel.lezcano@free.fr>
Sun, 26 Feb 2012 09:44:40 +0000 (10:44 +0100)
commite2fa15201393a956df74919ce85bf6a4eec13862
tree8aa2852237b2075d270146526619a2b78af20ebe
parent721d262cf10111af48514ec90cf85c88f8335aff
fix reboot support detection

In order for reboot(LINUX_REBOOT_CMD_CADON) to detect whether
container reboot is supported, it must be done in a non-init
pid namespace.  Fix that.

Signed-off-by: Serge Hallyn <serge.hallyn@canonical.com>
Signed-off-by: Daniel Lezcano <dlezcano@fr.ibm.com>
src/lxc/start.c