summaryrefslogtreecommitdiff
path: root/test/TEST-01-BASIC
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2012-08-06 18:28:42 +0200
committerLennart Poettering <lennart@poettering.net>2012-08-06 18:35:01 +0200
commitb3ac5f8cb98757416d8660023d6564a7c411f0a0 (patch)
treecdbce497590e2989e200aa3bbf5728ec370410a6 /test/TEST-01-BASIC
parent86fc77c47f2d22cd01d0871866869cb194af0884 (diff)
mount-setup: change system mount propagation to shared by default
In order to make containers work nicely out of the box it is highly desirable to have the mount propagation mode for the root fs is set as "shared" by default so that containers receive system mounts by default. (See mount --make-shared for more information). As it is unlikely that the kernel will change the default to "shared" for this, do this early at boot-up from PID 1. Setups which prefer the default of "private" should undo this change via invoking "mount --make-private /" or a similar command after boot. In the long run /etc/fstab should take the propagation mode as a mount option like any other, so that this may be used to change the default mode. However, if fstab is not around or doesn't list / we still should default to shared as propagation mode, hence this change now.
Diffstat (limited to 'test/TEST-01-BASIC')
0 files changed, 0 insertions, 0 deletions