[CRIU] [PATCH] restore: Wait for userns being prepared before moving into cgroups
Cyrill Gorcunov
gorcunov at gmail.com
Wed Apr 20 13:53:11 PDT 2016
On Wed, Apr 20, 2016 at 11:46:54PM +0300, Andrey Vagin wrote:
> From: Andrew Vagin <avagin at virtuozzo.com>
>
> When user namespace are stepping in we should wait for their preparation
> to complete before start using userns daemon (internally the kernel
> checks for uids and if uids are not set -EINVAL will be returned
> when usersn calls for sendmsg()).
>
> Thus use completion and wait for uid maps being written first.
>
> https://jira.sw.ru/browse/PSBM-46360
>
> Cc: Cyrill Gorcunov <gorcunov at gmail.com>
> Signed-off-by: Andrew Vagin <avagin at virtuozzo.com>
Acked-by: Cyrill Gorcunov <gorcunov at openvz.org>
Great! This version is shorter. Gonna pick it up into stable. Thanks!
More information about the CRIU
mailing list