Branch: refs/heads/master
  Home:   https://github.com/lxc/lxc
  Commit: 24ef39f4d54e83996129463f7138ba90b26a166a
      https://github.com/lxc/lxc/commit/24ef39f4d54e83996129463f7138ba90b26a166a
  Author: Serge Hallyn <serge.hal...@ubuntu.com>
  Date:   2013-11-21 (Thu, 21 Nov 2013)

  Changed paths:
    M src/lxc/lxccontainer.c

  Log Message:
  -----------
  lxcapi_clone: set the right environment variable for mounted fs

If the container is dir-backed, we don't actually mount it (to
support unprivileged use).  So always set the LXC_ROOTFS_MOUNT
to bdev->dest, not to the rootfs path specified in the container
configuration.

This should fix bug http://pad.lv/1253573

Signed-off-by: Serge Hallyn <serge.hal...@ubuntu.com>
Acked-by: Stéphane Graber <stgra...@ubuntu.com>



------------------------------------------------------------------------------
Shape the Mobile Experience: Free Subscription
Software experts and developers: Be at the forefront of tech innovation.
Intel(R) Software Adrenaline delivers strategic insight and game-changing 
conversations that shape the rapidly evolving mobile landscape. Sign up now. 
http://pubads.g.doubleclick.net/gampad/clk?id=63431311&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