Re: [lxc-devel] [PATCH] python3: Add snapshot_* to the binding

2013-11-29 Thread Serge Hallyn
Quoting Stéphane Graber (stgra...@ubuntu.com): Signed-off-by: Stéphane Graber stgra...@ubuntu.com Acked-by: Serge E. Hallyn serge.hal...@ubuntu.com --- src/python-lxc/lxc.c | 127 +++ 1 file changed, 127 insertions(+) diff --git

Re: [lxc-devel] [PATCH] python3: Allow setting daemonize and close_fds

2013-11-29 Thread Serge Hallyn
Quoting Stéphane Graber (stgra...@ubuntu.com): 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

Re: [lxc-devel] [PATCH] python3: Allow setting daemonize and close_fds

2013-11-29 Thread Stéphane Graber
On Fri, Nov 29, 2013 at 09:27:15AM -0600, Serge Hallyn wrote: Quoting Stéphane Graber (stgra...@ubuntu.com): 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

[lxc-devel] [lxc/lxc] 956f23: python3: Add snapshot_* to the binding

2013-11-29 Thread GitHub
Branch: refs/heads/master Home: https://github.com/lxc/lxc Commit: 956f23e332bf470cdacccf40966e41f972bb48ac https://github.com/lxc/lxc/commit/956f23e332bf470cdacccf40966e41f972bb48ac Author: Stéphane Graber stgra...@ubuntu.com Date: 2013-11-29 (Fri, 29 Nov 2013) Changed

Re: [lxc-devel] [PATCH] python3: Use FSConverter for all paths

2013-11-29 Thread Serge Hallyn
Quoting Stéphane Graber (stgra...@ubuntu.com): Signed-off-by: Stéphane Graber stgra...@ubuntu.com After a brief look at http://docs.python.org/3.1/c-api/unicode.html I suppose it looks good... Acked-by: Serge E. Hallyn serge.hal...@ubuntu.com --- src/python-lxc/lxc.c | 69

[lxc-devel] [lxc/lxc] c1ee94: python3: Use FSConverter for all paths

2013-11-29 Thread GitHub
Branch: refs/heads/master Home: https://github.com/lxc/lxc Commit: c1ee94cfd3c96a0c279ebcf617156385aabb7054 https://github.com/lxc/lxc/commit/c1ee94cfd3c96a0c279ebcf617156385aabb7054 Author: Stéphane Graber stgra...@ubuntu.com Date: 2013-11-29 (Fri, 29 Nov 2013) Changed

[lxc-devel] [PATCH] Allow unsetting daemonize and close_fds

2013-11-29 Thread Stéphane Graber
As mentioned in a previous commit, this does two changes: - Make want_daemonize return a bool (false on failure, true on success) - Make both want_daemonize and want_close_all_fds take a state argument so the user can choose to unset those flags. This commit also updates all occurences of

Re: [lxc-devel] [PATCH] Allow unsetting daemonize and close_fds

2013-11-29 Thread James Hunt
On 29/11/13 15:55, Stéphane Graber wrote: As mentioned in a previous commit, this does two changes: - Make want_daemonize return a bool (false on failure, true on success) - Make both want_daemonize and want_close_all_fds take a state argument so the user can choose to unset those flags.

[lxc-devel] [PATCH] Update doxygen doc for previous change

2013-11-29 Thread Stéphane Graber
Reported-by: James Hunt james.h...@ubuntu.com Signed-off-by: Stéphane Graber stgra...@ubuntu.com --- src/lxc/lxccontainer.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/lxc/lxccontainer.h b/src/lxc/lxccontainer.h index 8333610..ed340e2 100644 --- a/src/lxc/lxccontainer.h +++

Re: [lxc-devel] [PATCH] Update doxygen doc for previous change

2013-11-29 Thread Serge Hallyn
Quoting Stéphane Graber (stgra...@ubuntu.com): Reported-by: James Hunt james.h...@ubuntu.com Signed-off-by: Stéphane Graber stgra...@ubuntu.com Ah, thanks. Acked-by: Serge E. Hallyn serge.hal...@ubuntu.com --- src/lxc/lxccontainer.h | 2 ++ 1 file changed, 2 insertions(+) diff --git

Re: [lxc-devel] [PATCH] Allow unsetting daemonize and close_fds

2013-11-29 Thread S . Çağlar Onur
On Fri, Nov 29, 2013 at 2:34 PM, Serge Hallyn serge.hal...@ubuntu.com wrote: Quoting Stéphane Graber (stgra...@ubuntu.com): As mentioned in a previous commit, this does two changes: - Make want_daemonize return a bool (false on failure, true on success) - Make both want_daemonize and

Re: [lxc-devel] [PATCH] Allow unsetting daemonize and close_fds

2013-11-29 Thread Stéphane Graber
On Fri, Nov 29, 2013 at 02:40:35PM -0500, S.Çağlar Onur wrote: On Fri, Nov 29, 2013 at 2:34 PM, Serge Hallyn serge.hal...@ubuntu.com wrote: Quoting Stéphane Graber (stgra...@ubuntu.com): As mentioned in a previous commit, this does two changes: - Make want_daemonize return a bool (false on

[lxc-devel] [lxc/lxc] 540f93: Allow unsetting daemonize and close_fds

2013-11-29 Thread GitHub
Branch: refs/heads/master Home: https://github.com/lxc/lxc Commit: 540f932aeb28274e8e7ea1e8f3a8e5889b88e1d6 https://github.com/lxc/lxc/commit/540f932aeb28274e8e7ea1e8f3a8e5889b88e1d6 Author: Stéphane Graber stgra...@ubuntu.com Date: 2013-11-29 (Fri, 29 Nov 2013) Changed

Re: [lxc-devel] [PATCH] Allow unsetting daemonize and close_fds

2013-11-29 Thread Serge Hallyn
Quoting Stéphane Graber (stgra...@ubuntu.com): On Fri, Nov 29, 2013 at 02:40:35PM -0500, S.Çağlar Onur wrote: On Fri, Nov 29, 2013 at 2:34 PM, Serge Hallyn serge.hal...@ubuntu.com wrote: Quoting Stéphane Graber (stgra...@ubuntu.com): As mentioned in a previous commit, this does two

Re: [lxc-devel] [PATCH] Allow unsetting daemonize and close_fds

2013-11-29 Thread Stéphane Graber
On Fri, Nov 29, 2013 at 04:16:46PM -0600, Serge Hallyn wrote: Quoting Stéphane Graber (stgra...@ubuntu.com): On Fri, Nov 29, 2013 at 02:40:35PM -0500, S.Çağlar Onur wrote: On Fri, Nov 29, 2013 at 2:34 PM, Serge Hallyn serge.hal...@ubuntu.com wrote: Quoting Stéphane Graber

[lxc-devel] [PATCH] ubuntu: Actually attempt to remove /dev/shm

2013-11-29 Thread Stéphane Graber
Signed-off-by: Stéphane Graber stgra...@ubuntu.com --- templates/lxc-ubuntu-cloud.in | 3 ++- templates/lxc-ubuntu.in | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/templates/lxc-ubuntu-cloud.in b/templates/lxc-ubuntu-cloud.in index 3042d89..e97c7e3 100644 ---