[lxc-devel] [lxc/lxc] 24ef39: lxcapi_clone: set the right environment variable f...
GitHub
noreply at github.com
Thu Nov 21 15:25:50 UTC 2013
Branch: refs/heads/master
Home: https://github.com/lxc/lxc
Commit: 24ef39f4d54e83996129463f7138ba90b26a166a
https://github.com/lxc/lxc/commit/24ef39f4d54e83996129463f7138ba90b26a166a
Author: Serge Hallyn <serge.hallyn at 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.hallyn at ubuntu.com>
Acked-by: Stéphane Graber <stgraber at ubuntu.com>
More information about the lxc-devel
mailing list