[CRIU] [PATCH 00/39] Restore nested mount namespaces (v6)

Pavel Emelyanov xemul at parallels.com
Mon Apr 21 11:41:35 PDT 2014


On 04/21/2014 06:23 PM, Andrey Vagin wrote:
> Systemd is able to execute a service in a new mount namespace.
> It's used by Fedora and probably will be used in RHEL7.
> 
> All nested mount namespaces are restored as sub-trees of the root
> namespace. A namespace is restored by a task with minimal pid in this
> namespace. The task unshares mount namespace and makes pivot_root in a
> proper sub-tree. All other task from the namespace attaches to the
> namespace by calling setns().
> 
> v2: write more descriptive comments
> v3: don't leak fd on error path in dump_mnt_ns()
> v4: fix Pavel's comments.
> v5: don't use the set_exec_env pattern.
> v6: fix Pavel's comments

OK, applied. Let's try to do -rc1 in a couple of days and
fix everything on top.

Thanks!


More information about the CRIU mailing list