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

Serge Hallyn serge.hallyn at ubuntu.com
Sat Sep 27 21:27:23 UTC 2014


Quoting Dwight Engen (dwight.engen at oracle.com):
> On Sat, 20 Sep 2014 03:15:44 +0000
> Serge Hallyn <serge.hallyn at ubuntu.com> wrote:
> 
> > This idea came from Andy Lutomirski.  Instead of using a
> > temporary directory for the pivot_root put-old, use "." both
> > for new-root and old-root.  Then fchdir into the old root
> > temporarily in order to unmount the old-root, and finally
> > chdir back into our '/'.
> > 
> > Drop lxc.pivotdir from the lxc.container.conf manpage.
> > 
> > Warn when we see a lxc.pivotdir entry (but keep it in the
> > lxc.conf for now).
> > 
> > Signed-off-by: Serge Hallyn <serge.hallyn at ubuntu.com>
> 
> Hey Serge
> 
> Just a heads up that this change makes my containers not start on a
> 3.8.13 kernel. Reverting this change or using 3.13.11 kernel (just

Oh, 3.8.13.  I read that as "3.18 rc" somehow.  That changes
things :)


More information about the lxc-devel mailing list