]> git.ipfire.org Git - thirdparty/systemd.git/commit - man/systemd.exec.xml
core: add a per-unit setting MountAPIVFS= for mounting /dev, /proc, /sys in conjuncti...
authorLennart Poettering <lennart@poettering.net>
Thu, 22 Dec 2016 22:34:35 +0000 (23:34 +0100)
committerLennart Poettering <lennart@poettering.net>
Tue, 7 Feb 2017 10:22:05 +0000 (11:22 +0100)
commit5d997827e2ebe5d4f438748d1ac87c10c29045c6
tree28f9edefba7c8065ed0395d97820a47471457fcc
parent1eb7e08e20a329b1f074968c88fee5d8adf3bbaf
core: add a per-unit setting MountAPIVFS= for mounting /dev, /proc, /sys in conjunction with RootDirectory=

This adds a boolean unit file setting MountAPIVFS=. If set, the three
main API VFS mounts will be mounted for the service. This only has an
effect on RootDirectory=, which it makes a ton times more useful.

(This is basically the /dev + /proc + /sys mounting code posted in the
original #4727, but rebased on current git, and with the automatic logic
replaced by explicit logic controlled by a unit file setting)
man/systemd.exec.xml
src/core/dbus-execute.c
src/core/execute.c
src/core/execute.h
src/core/load-fragment-gperf.gperf.m4
src/core/namespace.c
src/core/namespace.h
src/shared/bus-unit-util.c