Re: [Devel] [PATCH criu 2/3] action-scripts: Export mount namespace roots via CRIU_MNT_NS_ROOTS

2017-10-24 Thread Cyrill Gorcunov
On Mon, Oct 23, 2017 at 03:30:25PM -0700, Andrei Vagin wrote: > > @@ -76,6 +77,7 @@ static int run_shell_scripts(const char *action) > > return -1; > > > > if (!(env_set & ENV_ROOTPID) && root_item) { > > + char mnt_ns_roots[PATH_MAX]; > > Should it be declared in a blo

Re: [Devel] [PATCH criu 2/3] action-scripts: Export mount namespace roots via CRIU_MNT_NS_ROOTS

2017-10-23 Thread Andrei Vagin
On Thu, Oct 12, 2017 at 10:21:30AM +0300, Cyrill Gorcunov wrote: > In particular we need to process filesystem to restore > ploop device migration, thus export roots and the script > can use CRTOOLS_INIT_PID together with nsenter to step > into prepared file systems and whatever needed. > > https:

[Devel] [PATCH criu 2/3] action-scripts: Export mount namespace roots via CRIU_MNT_NS_ROOTS

2017-10-12 Thread Cyrill Gorcunov
In particular we need to process filesystem to restore ploop device migration, thus export roots and the script can use CRTOOLS_INIT_PID together with nsenter to step into prepared file systems and whatever needed. https://jira.sw.ru/browse/PSBM-71861 Signed-off-by: Cyrill Gorcunov --- criu/act