[Devel] [PATCH libvzctl 3/3] scripts: Tune up ploop links on post-setup-namespaces stage

Cyrill Gorcunov gorcunov at gmail.com
Tue Oct 24 10:14:44 MSK 2017


On Mon, Oct 23, 2017 at 03:35:34PM -0700, Andrei Vagin wrote:
> > +	if [ -z "$VZ_RST_USE_NSENTER" ]; then
> > +		export VZ_RST_USE_NSENTER="y"
> > +		nsenter -m -t $pid bash $action_script
> 
> We can use /proc/$pid/root instead of entring a mount namespace

Nope. The script is running on criu's namespace and without entering
destination mnt ns we won't see the desired content. Been there.


More information about the Devel mailing list