[lxc-devel] [lxc/lxc] 7e36f8: destroy the original container after making sure t...
GitHub
noreply at github.com
Sun May 25 14:47:23 UTC 2014
Branch: refs/heads/master
Home: https://github.com/lxc/lxc
Commit: 7e36f87e2560ede94f171f14b6be1cfd5498c0d6
https://github.com/lxc/lxc/commit/7e36f87e2560ede94f171f14b6be1cfd5498c0d6
Author: S.Çağlar Onur <caglar at 10ur.org>
Date: 2014-05-25 (Sun, 25 May 2014)
Changed paths:
M src/lxc/lxccontainer.c
Log Message:
-----------
destroy the original container after making sure the snapshot exists (fixes #224)
Signed-off-by: S.Çağlar Onur <caglar at 10ur.org>
Acked-by: Serge E. Hallyn <serge.hallyn at ubuntu.com>
Commit: 9b8e3c96d87b7208c11204d46f4dd946e0060c95
https://github.com/lxc/lxc/commit/9b8e3c96d87b7208c11204d46f4dd946e0060c95
Author: Serge Hallyn <serge.hallyn at ubuntu.com>
Date: 2014-05-25 (Sun, 25 May 2014)
Changed paths:
M src/lxc/attach.c
M src/lxc/attach.h
M src/lxc/conf.h
Log Message:
-----------
attach: get personality through get_config command
Newer kernels optionally disallow reading /proc/$$/personality by
non-root users. We can get the personality through the lxc command
interface, so do so.
Also try to be more consistent about personality being a signed long.
We had it as int, unsigned long, signed long throughout the code.
(This addresses bug
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1322067 :
3.15.0-1.x breaks lxc-attach for unprivileged containers)
Signed-off-by: Serge Hallyn <serge.hallyn at ubuntu.com>
Acked-by: Stéphane Graber <stgraber at ubuntu.com>
Commit: 35120d9c591c9e2b9e594c3271d93ada37dd00da
https://github.com/lxc/lxc/commit/35120d9c591c9e2b9e594c3271d93ada37dd00da
Author: Serge Hallyn <serge.hallyn at ubuntu.com>
Date: 2014-05-25 (Sun, 25 May 2014)
Changed paths:
M src/lxc/bdev.c
M src/lxc/bdev.h
M src/lxc/conf.c
M src/lxc/conf.h
M src/lxc/start.c
Log Message:
-----------
Specially handle block device rootfs
It is not possible to mount a block device from a non-init user namespace.
Therefore if root on the host is starting a container with a uid
mapping, and the rootfs is a block device, then mount the rootfs before
we spawn the container init task.
This addresses https://github.com/lxc/lxc/issues/221
Signed-off-by: Serge Hallyn <serge.hallyn at ubuntu.com>
Acked-by: Stéphane Graber <stgraber at ubuntu.com>
Commit: bfd0b144b661dd027e363a0eba83144ea460af82
https://github.com/lxc/lxc/commit/bfd0b144b661dd027e363a0eba83144ea460af82
Author: Serge Hallyn <serge.hallyn at ubuntu.com>
Date: 2014-05-25 (Sun, 25 May 2014)
Changed paths:
M src/lxc/bdev.c
Log Message:
-----------
nbd: give paritions some time to show up
If you attach a file to /dev/nbd0, it may take some time for /dev/nbd0p1
to show up. Allow up to 5 seconds in that case, then bail.
Signed-off-by: Serge Hallyn <serge.hallyn at ubuntu.com>
Acked-by: Stéphane Graber <stgraber at ubuntu.com>
Compare: https://github.com/lxc/lxc/compare/f49ad558511e...bfd0b144b661
More information about the lxc-devel
mailing list