[CRIU] [PATCH] restore: call close_old_fds() beofre prepare_namespace_before_tasks

Cyrill Gorcunov gorcunov at gmail.com
Tue Nov 17 05:45:48 PST 2015


On Tue, Nov 17, 2015 at 04:43:25PM +0300, Andrew Vagin wrote:
> On Tue, Nov 17, 2015 at 02:59:55PM +0300, Cyrill Gorcunov wrote:
> > On Tue, Nov 17, 2015 at 02:45:27PM +0300, Andrey Vagin wrote:
> > > From: Andrew Vagin <avagin at virtuozzo.com>
> > > 
> > > Currently prepare_namespace_before_tasks() opens the host netns,
> > > but close_old_fds closes it.
> > > 
> > > Cc: Cyrill Gorcunov <gorcunov at openvz.org>
> > > Reported-by: Cyrill Gorcunov <gorcunov at openvz.org>
> > > Signed-off-by: Andrew Vagin <avagin at virtuozzo.com>
> > 
> > My container stuck on restore. I don't have time to
> > debug it at the moment, but will do at the evening.
> 
> vz-rst-action uses file descriptors, so we can't close oll descriptors
> of the criu process.
> 
> Looks like you was right when you suggested to add one more service
> descriptor.

Just sent it out. Thanks for the point!


More information about the CRIU mailing list