[lxc-devel] [PATCH 1/1] pivot_root: switch to a new mechanism (v2)

Eric W. Biederman ebiederm at xmission.com
Mon Sep 29 23:22:42 UTC 2014


Andy Lutomirski <luto at amacapital.net> writes:

> To me, this smells like MNT_DETACH does something awful when there are
> mounts under the detached mount.
>
> For example:
>
> mount --rbind / /mnt
> umount -l /mnt
>
> does *not* end well on my system.  I find it hard to believe that this
> behavior is intentional.

Hmm.  I think what is happening on your system is in some way related to
mount propgatation and systemd.   On my debian stable system system it
works without problems.

Eric


More information about the lxc-devel mailing list