summaryrefslogtreecommitdiff
path: root/src/shared/switch-root.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2016-12-12 19:46:56 +0100
committerLennart Poettering <lennart@poettering.net>2016-12-21 19:09:28 +0100
commit4ad14eff19f644fe632adf6ecc292a8e88540801 (patch)
tree5f531caee42714bf4e274482ec59c9bfe6399e6c /src/shared/switch-root.c
parent57ab9f893031ec4ae205edc1c32742459a0f1289 (diff)
nspawn: restore --volatile=yes support
This was broken by 19caffac75a2590a0c5ebc2a0214960f8188aec7 which remounted the root directory to MS_SHARED before applying the volatile mount logic. This broke things as MS_MOVE is incompatible with MS_SHARED directory trees, and we need MS_MOVE in the volatile mount logic to rearrange the directory tree. Simply swap the order here, apply the volatile logic before we switch to MS_SHARED.
Diffstat (limited to 'src/shared/switch-root.c')
0 files changed, 0 insertions, 0 deletions