[Lxc-users] lxc-start fails when / is a shared mount

Marios Titas redneb8888 at gmail.com
Tue Sep 20 06:57:13 UTC 2011


On Mon, Sep 19, 2011 at 21:53, Ram Pai <linuxram at us.ibm.com> wrote:
> digging through my long lost memory..... hmm..ok here is my recollection.
>
> Pivot root involves two move-mount operations. We had decided to not allow
> moving a mount that is currently below a shared mount. The reason being; it will
> lead to unmount of all the trees under their corresponding peer mounts.
>
> Since pivot_root involves two atomic move-mount operations, and since
> moving mounts below shared mounts is a invalid operation, the pivot_root
> operation below shared mounts becomes a invalid operation.

Thanks for the explanation. It would be nice if this was documented
somewhere, maybe in pivot_root(2).




More information about the lxc-users mailing list