[CRIU] [PATCH 2/3] scripts: systemd-autofs-restart.sh added

Cyrill Gorcunov gorcunov at gmail.com
Wed Apr 6 02:17:55 PDT 2016


On Wed, Apr 06, 2016 at 12:01:54PM +0300, Stanislav Kinsburskiy wrote:
> Signed-off-by: Stanislav Kinsburskiy <skinsbursky at virtuozzo.com>
> +
> +if [ ! -n "$NS_PID" ]; then
> +	echo "NS_PID environment variable is not set"
> +	exit 1
> +fi
> +
> +NS_ENTER=/usr/bin/nsenter

Why hardcoded path here? Plain nsenter won't be enough (without /usr/bin prefix)?


More information about the CRIU mailing list