[Devel] [PATCH 0/2] fix launching of containers on the mainstream kernel

Kir Kolyshkin kir at openvz.org
Wed Jan 15 18:02:47 PST 2014


On 01/13/2014 07:57 AM, Andrey Vagin wrote:
> User namespaces was restricted in the mainstream kernel and
> vzctl must follow to the current rules.
>
> ps: I didn't test these patches on OpenVZ kernels.
>
> Andrey Vagin (2):
>    vzctl: bind-mount the root in itself after entering in a user
>      namespace
>    hooks_ct: mount /proc and /sys before umounting the old root
>
>   src/lib/env.c      |  9 ++++++++-
>   src/lib/hooks_ct.c | 45 +++++++++++++++++++++++++++++++++++++++++++++
>   2 files changed, 53 insertions(+), 1 deletion(-)
>

Thanks!

Tested with OpenVZ kernel, applied with some trivial changes.

A nightly build with these patches are available from
http://download.openvz.org/utils/nightlies/vzctl/4.6.1-9.g2e89341/
More info on nightly builds is at
     http://openvz.org/Download/vzctl/nightly



More information about the Devel mailing list