[CRIU] [PATCH] mount: rework perparation for pivot_root
Pavel Emelyanov
xemul at parallels.com
Wed Sep 3 09:43:13 PDT 2014
On 08/08/2014 04:18 PM, Andrey Vagin wrote:
> We can't bind-mount the required root into itself instead of
> resolving a parent mount.
>
> This patch is required to support userns, because if we want to make
> pivot_root, the parent mount can't be locked. When we create userns
> and mntns, all inherited mounts are marked as locked.
>
> Cc: Tycho Andersen <tycho.andersen at canonical.com>
> Signed-off-by: Andrey Vagin <avagin at openvz.org>
Andrey, Tycho,
AFAIU we haven't yet decided what to do with the root mountpoint
preparation. Am I right? Can we resurrect the discussion if it's
still relevant?
Thanks,
Pavel
More information about the CRIU
mailing list