]> git.ipfire.org Git - thirdparty/systemd.git/commit
core: make StateDirectory= or friends works with DynamicUser= and RootDirectory=...
authorYu Watanabe <watanabe.yu+github@gmail.com>
Fri, 25 May 2018 08:25:17 +0000 (17:25 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Fri, 25 May 2018 08:25:17 +0000 (17:25 +0900)
commit5609f6888ba4cbe706ba415e5a94e09d6ef4c122
treea7b23c0bd444e410bfbe05e9cc73888b56db276d
parente4aa2c34d526c108dd8fa37448b19bdb38de52c9
core: make StateDirectory= or friends works with DynamicUser= and RootDirectory=/RootImage=

The symbolic links to private directories specified by StateDirectory=
or its friends are created on the host. So, when DynamicUser= and
RootDirectory=/RootImage= are set, then the executed process cannot
access private directory.
This makes the private directories are mounted on the non-private place
when both DynamicUser= and RootDirectory=/RootImage= are set.

Fixes #8965.
src/core/execute.c