Quoting Alexander Vladimirov (alexander.idkfa.vladimi...@gmail.com):
> With recent commits this code path prevents containers from starting
> on vanilla kernels, because there's no /proc//{u,g}id_map support
> there.
> If it was intended to make user namespaces support mandatory, then
> disregard t
With recent commits this code path prevents containers from starting
on vanilla kernels, because there's no /proc//{u,g}id_map support
there.
If it was intended to make user namespaces support mandatory, then
disregard that patch please.
2013/3/13 Serge Hallyn :
> Quoting Alexander Vladimirov (ale
Quoting Alexander Vladimirov (alexander.idkfa.vladimi...@gmail.com):
>
> Signed-off-by: Alexander Vladimirov
Nothing wrong with this, but why do you want this? It will save you
a 4096k allocation (which we could optimize away so it only happens
if needed), and one function call, but that is all
Signed-off-by: Alexander Vladimirov
---
src/lxc/start.c | 8 +---
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/src/lxc/start.c b/src/lxc/start.c
index 3fdfa04..05646c2 100644
--- a/src/lxc/start.c
+++ b/src/lxc/start.c
@@ -823,9 +823,11 @@ int lxc_spawn(struct lxc_handler *h