diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2024-09-06 06:14:14 +0200 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2024-09-06 06:22:26 +0200 |
commit | 2c2511aa734c507e04e06d273b474acacac9d486 (patch) | |
tree | 8175d85c61437afe89e482585a957ad99676fed5 /src/systemctl/systemctl-is-active.h | |
parent | nspawn: use strv_extend() and friends to build directories passed to remount_... (diff) | |
download | systemd-2c2511aa734c507e04e06d273b474acacac9d486.tar.xz systemd-2c2511aa734c507e04e06d273b474acacac9d486.zip |
nspawn: mount /var/ after remount_idmap() when --volatile=state
Previously, remount_idmap() failed as /var/ was already mounted, thus
remounting (strictly speaking, unmounting old root directory) failed
with -EBUSY.
As tmpfs /var/ is mounted with picked UID shift, it should not be
remounted with idmap, but needs to be mounted after the root directory
being remounted.
This makes '-U --volatile=state' work as expected.
Diffstat (limited to 'src/systemctl/systemctl-is-active.h')
0 files changed, 0 insertions, 0 deletions