Signed-off-by: Stéphane Graber
---
src/python-lxc/lxc.c | 127 +++
1 file changed, 127 insertions(+)
diff --git a/src/python-lxc/lxc.c b/src/python-lxc/lxc.c
index 050f6ae..f850a3d 100644
--- a/src/python-lxc/lxc.c
+++ b/src/python-lxc/lxc.c
@@ -11
This extends the list of arguments of start() allowing the user to
request the container be started in the foreground and have control on
whether fds will be closed or not (daemonize=True implies that too).
One problem at the moment however is that while we have functions to set
close_fds and daem
Signed-off-by: Stéphane Graber
---
src/python-lxc/lxc.c | 69 +---
1 file changed, 60 insertions(+), 9 deletions(-)
diff --git a/src/python-lxc/lxc.c b/src/python-lxc/lxc.c
index 5a20ff4..b4f1da3 100644
--- a/src/python-lxc/lxc.c
+++ b/src/python-l
Because if they are not, then we'll fail trying to map that
gid into the container.
The function doesn't change any gids, but lxc-usernsexec always does
setgid(0), so just map getgid() to 0 in the container.
Signed-off-by: Serge Hallyn
---
src/lxc/conf.c | 21 ++---
1 file chang
On Thu, Nov 28, 2013 at 10:53:13PM -0600, Serge Hallyn wrote:
> Because if they are not, then we'll fail trying to map that
> gid into the container.
>
> The function doesn't change any gids, but lxc-usernsexec always does
> setgid(0), so just map getgid() to 0 in the container.
>
> Signed-off-by
Branch: refs/heads/master
Home: https://github.com/lxc/lxc
Commit: 98e5ba5156d47436b9445a106f2014f71191c3df
https://github.com/lxc/lxc/commit/98e5ba5156d47436b9445a106f2014f71191c3df
Author: Serge Hallyn
Date: 2013-11-28 (Thu, 28 Nov 2013)
Changed paths:
M src/lxc/conf.c