Quoting Stéphane Graber (stgra...@ubuntu.com):
On Mon, Nov 04, 2013 at 02:44:44PM -0600, Serge Hallyn wrote:
So we don't always have to give full paths.
realpath(x,NULL) mallocs memory, but these paths shouldn't get called
from the API so not freeing should be ok.
What's the reason
Please do not apply the previous version of this patch, it is wrong. I
didn't take into account that priv is a union, so priv.veth_attr.pair
is only a pointer when netdev type is VETH. The following patch works
when non-veth nics are also present.
--
Signed-off-by: Dwight Engen
Branch: refs/heads/master
Home: https://github.com/lxc/lxc
Commit: 6502006a44d27a27fe1e2d9d8cac721c0ec8907a
https://github.com/lxc/lxc/commit/6502006a44d27a27fe1e2d9d8cac721c0ec8907a
Author: Dwight Engen dwight.en...@oracle.com
Date: 2013-11-05 (Tue, 05 Nov 2013)
Changed
Signed-off-by: Dwight Engen dwight.en...@oracle.com
---
src/tests/list.c | 97 +---
1 file changed, 36 insertions(+), 61 deletions(-)
diff --git a/src/tests/list.c b/src/tests/list.c
index a061542..af41e7f 100644
--- a/src/tests/list.c
+++
Signed-off-by: Dwight Engen dwight.en...@oracle.com
---
src/lxc/lxccontainer.c | 97 +++---
src/lxc/lxccontainer.h | 10 ++
2 files changed, 103 insertions(+), 4 deletions(-)
diff --git a/src/lxc/lxccontainer.c b/src/lxc/lxccontainer.c
index
Branch: refs/heads/master
Home: https://github.com/lxc/lxc
Commit: 3da0feef099c7da83352525fe4930dc9f7a3df82
https://github.com/lxc/lxc/commit/3da0feef099c7da83352525fe4930dc9f7a3df82
Author: Stéphane Graber stgra...@ubuntu.com
Date: 2013-11-05 (Tue, 05 Nov 2013)
Changed
To do so we do a quick setns into the container's netns. This
(unexpectedly) turns out cleaner than trying to rename it from
lxc_setup(), because we don't know the original nic name in
the container until we created it which we do in the parent
after the init has been cloned.
Signed-off-by:
conf.c/conf.h: have replaced bool hostid_is_mapped() with int mapped_hostid()
which returns the mapped uid for the caller's uid on the host, or -1 if
none
create_run_template: pass caller's uid into template.
lxc-ubuntu-cloud:
1. accept --mapped-uid argument
2. don't write
On Tue, Nov 05, 2013 at 02:12:58PM -0600, Serge Hallyn wrote:
With this patchset I am able to create and run ubuntu-cloud containers
as non-root user. Note this requires an uptodate ubuntu trusty host to
get a userns-enabled kernel. The steps:
1. install uidmap
sudo apt-get install
On Tue, Nov 05, 2013 at 02:14:33PM -0600, Serge Hallyn wrote:
conf.c/conf.h: have replaced bool hostid_is_mapped() with int mapped_hostid()
which returns the mapped uid for the caller's uid on the host, or -1 if
none
create_run_template: pass caller's uid into template.
Branch: refs/heads/master
Home: https://github.com/lxc/lxc
Commit: 4012c89148c42dc7c15809bec348746681f96edd
https://github.com/lxc/lxc/commit/4012c89148c42dc7c15809bec348746681f96edd
Author: Stéphane Graber stgra...@ubuntu.com
Date: 2013-11-05 (Tue, 05 Nov 2013)
Changed
Quoting Dwight Engen (dwight.en...@oracle.com):
Signed-off-by: Dwight Engen dwight.en...@oracle.com
Acked-by: Serge E. Hallyn serge.hal...@ubuntu.com
---
src/tests/list.c | 97
+---
1 file changed, 36 insertions(+), 61 deletions(-)
Quoting Dwight Engen (dwight.en...@oracle.com):
Found by running the lxc-test-list test with valgrind. The names were
put into a local array, and never freed in the success case where the
caller didn't want the names returned and in the early out failure case.
Note we don't need to check the
Quoting Serge Hallyn (serge.hal...@ubuntu.com):
Quoting Dwight Engen (dwight.en...@oracle.com):
Signed-off-by: Dwight Engen dwight.en...@oracle.com
Hi,
One comment below:
fwiw there's no resulting error so
Acked-by: Serge E. Hallyn serge.hal...@ubuntu.com
but if you don't see any
14 matches
Mail list logo