[systemd-devel] Shared root fs by default
tvrtko.ursulin at onelan.co.uk
Thu Mar 28 09:47:32 PDT 2013
As a bit of a feedback, the change in systemd to mark root fs as recursively
shared by default has the potential to bite hard anyone who builds chroot-ed
environments on their system.
When you build your chroot fs and then bind mount bits of the outside world
into it, you are up for a nasty surprise when you tear those mounts down. You
will then find your original mount points gone and system potentially in a
seriously broken state.
Depending what bits from the outside have been bind mounted into chroot and
your filesystem setup you can lose /home, /dev, /proc, etc. You get the
More information about the systemd-devel