summaryrefslogtreecommitdiff
path: root/src/systemctl
diff options
context:
space:
mode:
authorLuca Boccassi <luca.boccassi@microsoft.com>2021-07-27 16:41:38 +0100
committerLuca Boccassi <luca.boccassi@microsoft.com>2021-10-27 22:45:26 +0100
commitdf61e79a5d9d6adfb8ea7f5f9dcb98fdda136910 (patch)
treea0697fcfbf78ed999db19bfa41e578bc166962e0 /src/systemctl
parentd5bb2b0375b04449401cd43855722b60a4dcccd4 (diff)
downloadsystemd-df61e79a5d9d6adfb8ea7f5f9dcb98fdda136910.tar.gz
core: make DynamicUser=1 and StateDirectory= work with TemporaryFileSystem=/var/lib
The /var/lib/private/foo -> /var/lib/foo symlink for StateDirectory and DynamicUser is set up on the host filesystem, before the mount namespacing is brought up. If an empty /var/lib is used, to ensure the service does not see other services data, the symlink is then not available despite /var/lib/private being set up as expected. Make a list of symlinks that need to be set up, and create them after all the namespaced filesystems have been created, but before any eventual read-only switch is flipped.
Diffstat (limited to 'src/systemctl')
0 files changed, 0 insertions, 0 deletions