[CRIU] [PATCH 02/10] cgroup: nested cgroups aren't really supported
Serge Hallyn
serge.hallyn at ubuntu.com
Wed Mar 2 16:29:21 PST 2016
Quoting Tycho Andersen (tycho.andersen at canonical.com):
> After some discussion with Serge Hallyn, it seems that the current
> implementation of cgroup namespaces doesn't really support nesting. It's
You mean the current criu implementation, right? (The kernel
handles them just fine - just making sure)
> not a quick fix, so let's disable this for now (not that it matters, since
> probably nobody is nesting these anyways right now :)
>
> Signed-off-by: Tycho Andersen <tycho.andersen at canonical.com>
> ---
> criu/include/namespaces.h | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/criu/include/namespaces.h b/criu/include/namespaces.h
> index cd74710..303c9e6 100644
> --- a/criu/include/namespaces.h
> +++ b/criu/include/namespaces.h
> @@ -11,7 +11,7 @@
> #endif
>
> /* Nested namespaces are supported only for these types */
> -#define CLONE_SUBNS (CLONE_NEWNS | CLONE_NEWCGROUP)
> +#define CLONE_SUBNS (CLONE_NEWNS)
>
> struct ns_desc {
> unsigned int cflag;
> --
> 2.7.0
>
> _______________________________________________
> CRIU mailing list
> CRIU at openvz.org
> https://lists.openvz.org/mailman/listinfo/criu
More information about the CRIU
mailing list