[lxc-devel] Mount slave forced in lxc-1.1.4

Serge Hallyn serge.hallyn at ubuntu.com
Mon Feb 8 22:27:57 UTC 2016


Quoting Bussery, Francois (Francois.Bussery at arris.com):
> Hi,
> I have noticed that recent LXC are remounting SLAVE all SHARED mount points. 
> Is there any real reason for that? Is there any way to workaround this “feature” by any configuration files.
> In embedded world, it is really common to delegate the ability to manage mass storage in a separate container than the one who use it.
> So we need to share the mount points.
> It is unfortunately not possible to do it without patching on LXC 1.1.4.
> May be somebody found trick to workaround that?
> or don’t you think it could be interesting to add some exception in the conf file? 

An exception probably makes sense, something like ',allow_shared' next
to 'create=dir' options.  Please feel free to post a PR for such a
flag (default off) and remind us of the detailed use case in the PR
message.



More information about the lxc-devel mailing list