Quoting Michael H. Warfield (m...@wittsend.com):
> On Wed, 2013-10-23 at 01:02 +0000, Serge Hallyn wrote: 
> > From: Serge Hallyn <serge.hal...@ubuntu.com>
> 
> > 1. lxcapi_create: don't try to unshare and mount for dir backed containers
> 
> > It's unnecessary, and breaks unprivileged lxc-create (since unpriv users
> > cannot yet unshare(CLONE_NEWNS)).
> 
> I saw this and thought "I wonder if this fixes the dangling mount
> problem" I described in an earlier message.  Nothing to do with being an
> unpriv user, since it was being run as root, but right smack where that
> problem seem to be.
> 
> Just retested with latest from git...  Problem gone.  This fix seems to
> have eliminated the dangling mounts on /usr/lib64/lxc/rootfs from
> lxc-create.

It shouldn't, but I thought it might.  Can you instrument to confirm
whether chroot_into_slave() is called on your host?

------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60135991&iu=/4140/ostg.clktrk
_______________________________________________
Lxc-devel mailing list
Lxc-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lxc-devel

Reply via email to