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
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):
> > > >
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
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
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
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
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
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
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