Skip to content

runtime: Don't assume container's env is in the PATH

Simon McVittie requested to merge wip/no-env into master

Some OS distributions, notably Exherbo, don't put /usr/bin in their PATH. This means we can't safely use their PATH to invoke standard tools inside the container.

Bypass this by setting the PATH without using env(1).


Continuing the saga of https://github.com/ValveSoftware/steam-runtime/issues/230, and further improving the portability of the change that started in 3fea265c. The wonderful thing about standards is that there are so many to choose from...

/cc @denittis

Merge request reports

Loading