chiark / gitweb /
nspawn: mount /tmp in the container, don't leave this to the container's init
authorLennart Poettering <lennart@poettering.net>
Fri, 23 Jan 2015 00:27:06 +0000 (01:27 +0100)
committerLennart Poettering <lennart@poettering.net>
Fri, 23 Jan 2015 00:27:06 +0000 (01:27 +0100)
commitbbb99c30d01a8bcdc27fb151cc6376a7877a6b07
tree36d2d7aac312842956b65457d4b367560b98d9f4
parent05e7da5afa07b5620c06507a3f033334a5179d21
nspawn: mount /tmp in the container, don't leave this to the container's init

We really want /tmp to be properly mounted, especially in containers
that lack CAP_SYS_ADMIN or that are not fully booted up and only get a
shell, hence let's do so in nspawn already.
src/nspawn/nspawn.c