[lxc-devel] [PATCH 1/1] lxcapi_clone: set the right environment variable for mounted fs

2013-11-21 Thread Serge Hallyn
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 --- src/lxc/lxccont

Re: [lxc-devel] [PATCH 2/2] Support files for systemd on Fedora.

2013-11-21 Thread Serge Hallyn
Thanks, Michael. I'll go ahead and apply the patch. -serge Quoting Michael H. Warfield (m...@wittsend.com): > On Wed, 2013-11-20 at 23:12 -0500, Michael H. Warfield wrote: > > On Wed, 2013-11-20 at 21:39 -0600, Serge Hallyn wrote: > > > Quoting Michael H. Warfield (m...@wittsend.com): > > > >

[lxc-devel] [lxc/lxc] 87ff95: Support files for systemd on Fedora.

2013-11-21 Thread GitHub
Branch: refs/heads/master Home: https://github.com/lxc/lxc Commit: 87ff951e680d7984cbfdc1c4ff378d47fe8a0f1d https://github.com/lxc/lxc/commit/87ff951e680d7984cbfdc1c4ff378d47fe8a0f1d Author: Michael H. Warfield Date: 2013-11-21 (Thu, 21 Nov 2013) Changed paths: M lxc.spe

Re: [lxc-devel] [PATCH 1/1] lxcapi_clone: set the right environment variable for mounted fs

2013-11-21 Thread Stéphane Graber
On Thu, Nov 21, 2013 at 09:05:59AM -0600, Serge Hallyn wrote: > 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 bu

[lxc-devel] [lxc/lxc] 24ef39: lxcapi_clone: set the right environment variable f...

2013-11-21 Thread GitHub
Branch: refs/heads/master Home: https://github.com/lxc/lxc Commit: 24ef39f4d54e83996129463f7138ba90b26a166a https://github.com/lxc/lxc/commit/24ef39f4d54e83996129463f7138ba90b26a166a Author: Serge Hallyn Date: 2013-11-21 (Thu, 21 Nov 2013) Changed paths: M src/lxc/lxccon

Re: [lxc-devel] [PATCH 2/2] Support files for systemd on Fedora.

2013-11-21 Thread Michael H. Warfield
On Wed, 2013-11-20 at 23:12 -0500, Michael H. Warfield wrote: > On Wed, 2013-11-20 at 21:39 -0600, Serge Hallyn wrote: > > Quoting Michael H. Warfield (m...@wittsend.com): > > > Added a file "lxc.service" for a systemd service file. > > > > > > Added a file "lxc-devsetup" to setup /dev/ on start

[lxc-devel] [lxc/lxc] 94272b: lxc_usernsexec: fix build breakage

2013-11-21 Thread GitHub
Branch: refs/heads/master Home: https://github.com/lxc/lxc Commit: 94272b710409fb45bf01e74601bc07c6a0482742 https://github.com/lxc/lxc/commit/94272b710409fb45bf01e74601bc07c6a0482742 Author: Serge Hallyn Date: 2013-11-21 (Thu, 21 Nov 2013) Changed paths: M src/lxc/lxc_us

[lxc-devel] [PATCH 1/1] remove HAVE_NEWUIDMAP and NEWUIDMAP

2013-11-21 Thread Serge Hallyn
Always build lxc-usernsexec. Else we require having uidmap installed on the build host for no good reason. And we never actually used the NEWUIDMAP path we detected. Signed-off-by: Serge Hallyn --- configure.ac| 4 src/lxc/Makefile.am | 11 ++- 2 files changed, 2 insertio

Re: [lxc-devel] [PATCH 1/1] remove HAVE_NEWUIDMAP and NEWUIDMAP

2013-11-21 Thread Stéphane Graber
On Thu, Nov 21, 2013 at 10:11:43PM -0600, Serge Hallyn wrote: > Always build lxc-usernsexec. Else we require having uidmap > installed on the build host for no good reason. And we never > actually used the NEWUIDMAP path we detected. > > Signed-off-by: Serge Hallyn Acked-by: Stéphane Graber