Description
We have some things breaking on CentOS, which does not have /usr/local/bin
in the PATH.
That is: users do have it in their PATH, but root does not. And sudo
runs with the root PATH.
So if you are trying to run something that is not from a package, you will get a "command not found"
This goes both for "crio version" (when run as root) and for "sudo crictl", only work with /usr/bin
.
One workaround is to move everything to /usr/bin
, which is violating the FHS but whatever.
It would be nice if minikube was able to find crio
and crictl
- also in their default location ?
This would have worked better if crio and cri-tools would be available in the default distribution.
But it doesn't (at the moment), and when you try to install it locally you run into these issues...