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

Cyrill Gorcunov gorcunov at gmail.com
Wed Apr 6 02:23:20 PDT 2016


On Wed, Apr 06, 2016 at 11:19:53AM +0200, Stanislav Kinsburskiy wrote:
> >>+
> >>+NS_ENTER=/usr/bin/nsenter
> >Why hardcoded path here? Plain nsenter won't be enough (without /usr/bin prefix)?
> 
> Hardcoded paths are better, from my POW. Otherwise it can find
> /usr/local/bin/nsenter or else and use it instead.
> I would say it's a common practice to specify absolute paths in scripts.

OK, thanks for explanation.


More information about the CRIU mailing list