chiark / gitweb /
nspawn: when running nspawn, set a $PATH including both bin + sbin by default (#8756)
authorLennart Poettering <lennart@poettering.net>
Fri, 20 Apr 2018 09:36:25 +0000 (11:36 +0200)
committerSven Eden <yamakuzure@gmx.net>
Fri, 24 Aug 2018 14:47:08 +0000 (16:47 +0200)
commit2d4bef91fa5f502b6f466648a1dcd4644662875d
tree5a4b29186a8beb7ba76b5e4626909ffef3db0944
parent15f9c17dd3ccf9dc21ceb795feb27a6b6dee1b1f
nspawn: when running nspawn, set a $PATH including both bin + sbin by default (#8756)

We don't know what the container payload needs, hence default to a PATH
with both bin and sbin included, as well as / and /usr.

Follow-up for #8324

Fixes: #8698
src/basic/path-util.h