[lxc-devel] Last e-mail on the old mailing-lists

2013-12-08 Thread Stéphane Graber
indicating that the move is over. I'll also be updating as many of the places where the old lists are referenced as I can. If you know of some more, please feel free to update them. -- Stéphane Graber Ubuntu developer http://www.ubuntu.com signature.asc Description: Digital signature

Re: [lxc-devel] [PATCH] lxc-busybox: remove unnecessary bind-mount

2013-12-06 Thread Stéphane Graber
://lists.sourceforge.net/lists/listinfo/lxc-devel -- Stéphane Graber Ubuntu developer http://www.ubuntu.com signature.asc Description: Digital signature -- Sponsored by Intel(R) XDK Develop, test and display web and hybrid apps

Re: [lxc-devel] [PATCH] doc: Update Japanese lxc.conf(5)

2013-12-06 Thread Stéphane Graber
On Fri, Dec 06, 2013 at 03:08:10PM +0900, KATOH Yasufumi wrote: translate the untranslated paragraph Signed-off-by: KATOH Yasufumi ka...@jazz.email.ne.jp Acked-by: Stéphane Graber stgra...@ubuntu.com --- doc/ja/lxc.conf.sgml.in | 3 +++ 1 file changed, 3 insertions(+) diff --git a/doc

Re: [lxc-devel] [PATCH] oracle template: fix chcon warning when selinux disabled

2013-12-06 Thread Stéphane Graber
On Fri, Dec 06, 2013 at 09:46:19AM -0500, Dwight Engen wrote: Signed-off-by: Dwight Engen dwight.en...@oracle.com Acked-by: Stéphane Graber stgra...@ubuntu.com --- templates/lxc-oracle.in | 13 +++-- 1 files changed, 11 insertions(+), 2 deletions(-) diff --git a/templates/lxc

Re: [lxc-devel] [PATCH 2/2] let lxc-monitor command ask a lxc-monitord instance to quit

2013-12-06 Thread Stéphane Graber
-monitord to quit immediately instead of waiting the normal 30 seconds for more clients, potentially freeing up lxcpath for unmounting. Signed-off-by: Dwight Engen dwight.en...@oracle.com Acked-by: Stéphane Graber stgra...@ubuntu.com --- doc/lxc-monitor.sgml.in | 22

Re: [lxc-devel] [PATCH] busybox template: set mode when creating device nodes

2013-12-06 Thread Stéphane Graber
On Fri, Dec 06, 2013 at 04:47:26PM -0500, Dwight Engen wrote: ensure mode 666 is set for tty1 and tty5 Signed-off-by: Dwight Engen dwight.en...@oracle.com Acked-by: Stéphane Graber stgra...@ubuntu.com --- templates/lxc-busybox.in | 22 +- 1 file changed, 9 insertions

[lxc-devel] [PATCH] lxc_monitor: Check return value of write

2013-12-06 Thread Stéphane Graber
Signed-off-by: Stéphane Graber stgra...@ubuntu.com --- src/lxc/lxc_monitor.c | 9 +++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/src/lxc/lxc_monitor.c b/src/lxc/lxc_monitor.c index 63ab68b..92477e2 100644 --- a/src/lxc/lxc_monitor.c +++ b/src/lxc/lxc_monitor.c @@ -93,11

[lxc-devel] [PATCH] Add support for new create=(dir, file) mount option

2013-12-05 Thread Stéphane Graber
-by: Stéphane Graber stgra...@ubuntu.com --- src/lxc/conf.c | 70 +- 1 file changed, 69 insertions(+), 1 deletion(-) diff --git a/src/lxc/conf.c b/src/lxc/conf.c index 6542ce1..0beb12b 100644 --- a/src/lxc/conf.c +++ b/src/lxc/conf.c @@ -1906,18

[lxc-devel] [PATCH] conffile.c: Also clear text entries with no value

2013-12-05 Thread Stéphane Graber
Signed-off-by: Stéphane Graber stgra...@ubuntu.com --- src/lxc/confile.c | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/lxc/confile.c b/src/lxc/confile.c index 835153b..5f25e08 100644 --- a/src/lxc/confile.c +++ b/src/lxc/confile.c @@ -216,8 +216,12 @@ static int

[lxc-devel] [PATCH] Move some common Ubuntu config

2013-12-05 Thread Stéphane Graber
at the top of all generated configuration files telling the user to look at lxc.conf(5) for more information. Signed-off-by: Stéphane Graber stgra...@ubuntu.com --- config/Makefile.am | 16 + config/default.conf.libvirt | 3 - config

[lxc-devel] Mailing-list move on Sunday 8th of December

2013-12-04 Thread Stéphane Graber
and all subscriptions and settings will stay as they are, so once you have updated your mail filters and aliases everything should be back to normal. Sorry for the inconvenience and looking forward to a SourceForge free world! -- Stéphane Graber Ubuntu developer http://www.ubuntu.com

Re: [lxc-devel] making lxcpath a real path?

2013-12-03 Thread Stéphane Graber
___ Lxc-devel mailing list Lxc-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lxc-devel -- Stéphane Graber Ubuntu developer http://www.ubuntu.com signature.asc Description: Digital signature

Re: [lxc-devel] making lxcpath a real path?

2013-12-03 Thread Stéphane Graber
On Tue, Dec 03, 2013 at 10:57:44AM -0500, Michael H. Warfield wrote: On Tue, 2013-12-03 at 10:20 -0500, Stéphane Graber wrote: On Tue, Dec 03, 2013 at 10:00:02AM -0500, Michael H. Warfield wrote: On Tue, 2013-12-03 at 12:49 +0100, Harald Dunkel wrote: Hi folks, do you think

Re: [lxc-devel] [PATCH] ubuntu: Fix regression in post-process

2013-12-03 Thread Stéphane Graber
On Tue, Dec 03, 2013 at 05:43:47PM -0600, Serge Hallyn wrote: Quoting S.Çağlar Onur (cag...@10ur.org): Hey Stéphane, On Wed, Nov 27, 2013 at 7:49 PM, Stéphane Graber stgra...@ubuntu.com wrote: THe recent reorg of lxc-ubuntu introduced some package installation in post-process

Re: [lxc-devel] [PATCH] Add LXC version information to version.h

2013-12-02 Thread Stéphane Graber
FREE TRIAL of AppDynamics Pro! http://pubads.g.doubleclick.net/gampad/clk?id=84349351iu=/4140/ostg.clktrk ___ Lxc-devel mailing list Lxc-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lxc-devel -- Stéphane Graber Ubuntu

[lxc-devel] [PATCH] Reduce public API

2013-12-02 Thread Stéphane Graber
moved to lxccontainer.h (as it's a dependency of lxc_container) but all other locking functions are now strictly internal. As a result quite a lot of files needed addition of extra includes previously inherited from lxclock.h. Signed-off-by: Stéphane Graber stgra...@ubuntu.com --- src/lxc/Makefile.am

Re: [lxc-devel] [PATCH 1/1] confile.c: clear entries if no value

2013-12-02 Thread Stéphane Graber
! Acked-by: Stéphane Graber stgra...@ubuntu.com --- src/lxc/conf.h| 1 + src/lxc/confile.c | 23 --- 2 files changed, 21 insertions(+), 3 deletions(-) diff --git a/src/lxc/conf.h b/src/lxc/conf.h index 84ffb20..f272c91 100644 --- a/src/lxc/conf.h +++ b/src/lxc

Re: [lxc-devel] [PATCH] Reduce public API

2013-12-02 Thread Stéphane Graber
On Mon, Dec 02, 2013 at 01:31:21PM -0600, Serge Hallyn wrote: Quoting Stéphane Graber (stgra...@ubuntu.com): This removes all but the following headers from our includes: - attach_options.h - lxccontainer.h - version.h This also removes the duplicate lxc_version function

[lxc-devel] [PATCH] Reduce public API (V2)

2013-12-02 Thread Stéphane Graber
addition of extra includes previously inherited from lxclock.h. Signed-off-by: Stéphane Graber stgra...@ubuntu.com --- src/lxc/Makefile.am| 19 +-- src/lxc/bdev.c | 1 + src/lxc/lxc_config.c | 1 + src/lxc/lxc_create.c | 1 + src/lxc/lxc_snapshot.c

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 (daemonize

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

2013-11-29 Thread Stéphane Graber
of those two functions. Signed-off-by: Stéphane Graber stgra...@ubuntu.com --- src/lua-lxc/core.c | 2 +- src/lxc/lxc_start.c| 4 ++-- src/lxc/lxccontainer.c | 20 +--- src/lxc/lxccontainer.h | 4 ++-- src/python-lxc/lxc.c | 10 -- src/tests

[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 +++ b/src

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

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 (stgra

[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

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

2013-11-28 Thread Stéphane Graber
Signed-off-by: Stéphane Graber stgra...@ubuntu.com --- 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

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

2013-11-28 Thread Stéphane Graber
interface, both returning booleans and both accepting a value as a parameter so API users can set the value they want. Signed-off-by: Stéphane Graber stgra...@ubuntu.com --- src/python-lxc/lxc.c | 33 + 1 file changed, 25 insertions(+), 8 deletions(-) diff --git a/src

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

2013-11-28 Thread Stéphane Graber
Signed-off-by: Stéphane Graber stgra...@ubuntu.com --- 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

Re: [lxc-devel] [PATCH 1/1] chown_mapped_root: fix assumption that calling uid == guid

2013-11-28 Thread Stéphane Graber
-by: Serge Hallyn serge.hal...@ubuntu.com Acked-by: Stéphane Graber stgra...@ubuntu.com --- src/lxc/conf.c | 21 ++--- 1 file changed, 14 insertions(+), 7 deletions(-) diff --git a/src/lxc/conf.c b/src/lxc/conf.c index 534e6e6..290a7bb 100644 --- a/src/lxc/conf.c +++ b/src/lxc

[lxc-devel] [PATCH 1/7] python3: Code style

2013-11-27 Thread Stéphane Graber
Drop any tab as spaces are preferred, get everything to fit the 80char limit. Signed-off-by: Stéphane Graber stgra...@ubuntu.com --- src/python-lxc/lxc.c | 65 +++- 1 file changed, 44 insertions(+), 21 deletions(-) diff --git a/src/python-lxc

[lxc-devel] [PATCH 7/7] python3: Add (add|remove)_device_node

2013-11-27 Thread Stéphane Graber
Signed-off-by: Stéphane Graber stgra...@ubuntu.com --- src/python-lxc/lxc.c | 50 ++ 1 file changed, 50 insertions(+) diff --git a/src/python-lxc/lxc.c b/src/python-lxc/lxc.c index 43e571d..de02d4b 100644 --- a/src/python-lxc/lxc.c +++ b/src/python

[lxc-devel] [PATCH 6/7] python3: Add controllable property to the binding

2013-11-27 Thread Stéphane Graber
Signed-off-by: Stéphane Graber stgra...@ubuntu.com --- src/python-lxc/lxc.c | 14 ++ 1 file changed, 14 insertions(+) diff --git a/src/python-lxc/lxc.c b/src/python-lxc/lxc.c index 7c28607..43e571d 100644 --- a/src/python-lxc/lxc.c +++ b/src/python-lxc/lxc.c @@ -456,6 +456,16

[lxc-devel] [PATCH 5/7] python3: Add clear_config() to the binding

2013-11-27 Thread Stéphane Graber
Signed-off-by: Stéphane Graber stgra...@ubuntu.com --- src/python-lxc/lxc.c | 14 ++ 1 file changed, 14 insertions(+) diff --git a/src/python-lxc/lxc.c b/src/python-lxc/lxc.c index 1ed8cbe..7c28607 100644 --- a/src/python-lxc/lxc.c +++ b/src/python-lxc/lxc.c @@ -546,6 +546,14

[lxc-devel] [PATCH 3/7] python3: Add reboot() to the binding

2013-11-27 Thread Stéphane Graber
Signed-off-by: Stéphane Graber stgra...@ubuntu.com --- src/python-lxc/lxc.c | 16 1 file changed, 16 insertions(+) diff --git a/src/python-lxc/lxc.c b/src/python-lxc/lxc.c index 05fbff8..0604ec7 100644 --- a/src/python-lxc/lxc.c +++ b/src/python-lxc/lxc.c @@ -598,6 +598,16

[lxc-devel] [PATCH 4/7] python3: Re-order all functions

2013-11-27 Thread Stéphane Graber
This properly regroups the module functions together and then sorts all other functions alphabetically to match the function and property lists. Signed-off-by: Stéphane Graber stgra...@ubuntu.com --- src/python-lxc/lxc.c | 709 ++- 1 file changed

[lxc-devel] [PATCH 2/7] python3: Sort all method/property lists

2013-11-27 Thread Stéphane Graber
Signed-off-by: Stéphane Graber stgra...@ubuntu.com --- src/python-lxc/lxc.c | 60 ++-- 1 file changed, 30 insertions(+), 30 deletions(-) diff --git a/src/python-lxc/lxc.c b/src/python-lxc/lxc.c index 3924a1b..05fbff8 100644 --- a/src/python-lxc

[lxc-devel] [PATCH] python3: Add clone() to the binding

2013-11-27 Thread Stéphane Graber
Signed-off-by: Stéphane Graber stgra...@ubuntu.com --- src/python-lxc/lxc.c | 68 ++ src/python-lxc/lxc/__init__.py | 35 +++--- 2 files changed, 85 insertions(+), 18 deletions(-) diff --git a/src/python-lxc/lxc.c b/src/python-lxc

[lxc-devel] [PATCH] python3: Allow passing create flags

2013-11-27 Thread Stéphane Graber
Signed-off-by: Stéphane Graber stgra...@ubuntu.com --- src/python-lxc/lxc.c | 14 +- src/python-lxc/lxc/__init__.py | 23 +++ 2 files changed, 24 insertions(+), 13 deletions(-) diff --git a/src/python-lxc/lxc.c b/src/python-lxc/lxc.c index e9a3455

[lxc-devel] [PATCH] python3: Export some missing constants

2013-11-27 Thread Stéphane Graber
Signed-off-by: Stéphane Graber stgra...@ubuntu.com --- src/python-lxc/lxc/__init__.py | 37 + 1 file changed, 25 insertions(+), 12 deletions(-) diff --git a/src/python-lxc/lxc/__init__.py b/src/python-lxc/lxc/__init__.py index 52f0fb4..eddd198 100644 --- a/src

[lxc-devel] [PATCH] ubuntu: Fix regression in post-process

2013-11-27 Thread Stéphane Graber
-by: Stéphane Graber stgra...@ubuntu.com --- templates/lxc-ubuntu.in | 10 ++ 1 file changed, 10 insertions(+) diff --git a/templates/lxc-ubuntu.in b/templates/lxc-ubuntu.in index ac39ed2..4e6a54f 100644 --- a/templates/lxc-ubuntu.in +++ b/templates/lxc-ubuntu.in @@ -467,6 +467,13 @@ post_process

Re: [lxc-devel] [PATCH] ubuntu: Fix regression in post-process

2013-11-27 Thread Stéphane Graber
On Wed, Nov 27, 2013 at 09:14:24PM -0600, Serge Hallyn wrote: Quoting Stéphane Graber (stgra...@ubuntu.com): THe recent reorg of lxc-ubuntu introduced some package installation in post-process but without first disabling service startup. As a result, if the cache is a bit out of date

Re: [lxc-devel] [PATCH] Added templates/lxc-centos for CentOS containers.

2013-11-26 Thread Stéphane Graber
/lxc-devel -- Stéphane Graber Ubuntu developer http://www.ubuntu.com signature.asc Description: Digital signature -- Rapidly troubleshoot problems before they affect your business. Most IT organizations don't have

[lxc-devel] [PATCH] python3: Add list_containers to C API

2013-11-26 Thread Stéphane Graber
). Signed-off-by: Stéphane Graber stgra...@ubuntu.com --- src/python-lxc/lxc.c | 71 -- src/python-lxc/lxc/__init__.py | 22 +++-- 2 files changed, 80 insertions(+), 13 deletions(-) diff --git a/src/python-lxc/lxc.c b/src/python-lxc/lxc.c

Re: [lxc-devel] [PATCH 1/1] lxc-user-nic: dont risk passing EOF

2013-11-25 Thread Stéphane Graber
On Fri, Nov 22, 2013 at 08:26:20PM -0600, Serge Hallyn wrote: Signed-off-by: Serge Hallyn serge.hal...@ubuntu.com Acked-by: Stéphane Graber stgra...@ubuntu.com --- src/lxc/lxc_user_nic.c | 26 +- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/src

Re: [lxc-devel] [PATCH 1/1] lxc-user-nic: use common code from network.c

2013-11-25 Thread Stéphane Graber
functions you moved over are identical (didn't re-check the code within those) and I didn't do a test-run of the new script but I'm also assuming you did. Thanks for the cleanup! Acked-by: Stéphane Graber stgra...@ubuntu.com --- src/lxc/Makefile.am| 2 +- src/lxc/conf.c

Re: [lxc-devel] [PATCH 2/2] Fixes for selinux and pam_loginuid.so

2013-11-25 Thread Stéphane Graber
be worth mentioning the addition of the SSH server and client? Anyway, the change itself is fine. Acked-by: Stéphane Graber stgra...@ubuntu.com --- templates/lxc-fedora.in | 23 --- 1 file changed, 20 insertions(+), 3 deletions(-) diff --git a/templates/lxc-fedora.in b

Re: [lxc-devel] cgroup management daemon

2013-11-25 Thread Stéphane Graber
=/4140/ostg.clktrk ___ Lxc-devel mailing list Lxc-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lxc-devel -- Stéphane Graber Ubuntu developer http://www.ubuntu.com signature.asc Description: Digital signature

Re: [lxc-devel] cgroup management daemon

2013-11-25 Thread Stéphane Graber
On Tue, Nov 26, 2013 at 03:35:22AM +0200, Marian Marinov wrote: On 11/26/2013 02:11 AM, Stéphane Graber wrote: On Tue, Nov 26, 2013 at 02:03:16AM +0200, Marian Marinov wrote: On 11/26/2013 12:43 AM, Serge E. Hallyn wrote: Hi, as i've mentioned several times, I want to write a standalone

Re: [lxc-devel] cgroup management daemon

2013-11-25 Thread Stéphane Graber
@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lxc-devel -- Stéphane Graber Ubuntu developer http://www.ubuntu.com signature.asc Description: Digital signature -- Shape the Mobile Experience: Free

Re: [lxc-devel] LXC live migrate

2013-11-25 Thread Stéphane Graber
only build on x86_64), then the plan is to add API calls to LXC's API that'll implement the checkpoint/restore feature using CRIU. -- Stéphane Graber Ubuntu developer http://www.ubuntu.com signature.asc Description: Digital signature

Re: [lxc-devel] [PATCH v2] lxcapi_destroy: run in a namespace if we are unprivileged

2013-11-22 Thread Stéphane Graber
with the rest of our code. Signed-off-by: Serge Hallyn serge.hal...@ubuntu.com Acked-by: Stéphane Graber stgra...@ubuntu.com --- src/lxc/bdev.c | 2 +- src/lxc/conf.c | 155 - src/lxc/conf.h | 3 + src/lxc/lxc_destroy.c

Re: [lxc-devel] [PATCH 1/1] don't fail lxc-init if we couldn't mount proc

2013-11-22 Thread Stéphane Graber
/1253669 for a bug about this) Signed-off-by: Serge Hallyn serge.hal...@ubuntu.com Acked-by: Stéphane Graber stgra...@ubuntu.com --- src/lxc/lxc_init.c | 3 +-- src/lxc/utils.c| 8 +++- src/lxc/utils.h| 2 +- 3 files changed, 5 insertions(+), 8 deletions(-) diff --git a/src

Re: [lxc-devel] [PATCH 1/1] lxcapi_clone: set the right environment variable for mounted fs

2013-11-21 Thread Stéphane Graber
://pad.lv/1253573 Signed-off-by: Serge Hallyn serge.hal...@ubuntu.com Acked-by: Stéphane Graber stgra...@ubuntu.com --- src/lxc/lxccontainer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lxc/lxccontainer.c b/src/lxc/lxccontainer.c index 11e70cb..c1f99d5 100644

Re: [lxc-devel] [PATCH 1/2] Setup devtmpfs and /dev for autodev bind mounts.

2013-11-20 Thread Stéphane Graber
) | (770) 978-7061 | m...@wittsend.com /\/\|=mhw=|\/\/ | (678) 463-0932 | http://www.wittsend.com/mhw/ NIC whois: MHW9 | An optimist believes we live in the best of all PGP Key: 0x674627FF| possible worlds. A pessimist is sure of it! -- Stéphane

Re: [lxc-devel] [PATCH 2/9] lxc_user_nic: don't pass unused arg to get_username()

2013-11-19 Thread Stéphane Graber
On Tue, Nov 19, 2013 at 04:17:45PM +, Serge Hallyn wrote: From: Serge Hallyn serge.hal...@ubuntu.com Signed-off-by: Serge Hallyn serge.hal...@ubuntu.com Acked-by: Stéphane Graber stgra...@ubuntu.com --- src/lxc/lxc_user_nic.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions

Re: [lxc-devel] [PATCH 1/9] lxc_user_nic: add a check to make sure caller owns target netns

2013-11-19 Thread Stéphane Graber
-by: Serge Hallyn serge.hal...@ubuntu.com Acked-by: Stéphane Graber stgra...@ubuntu.com --- src/lxc/lxc_user_nic.c | 64 +- 1 file changed, 58 insertions(+), 6 deletions(-) diff --git a/src/lxc/lxc_user_nic.c b/src/lxc/lxc_user_nic.c index

Re: [lxc-devel] [PATCH 3/9] lxc_user_nic: report strerror(errno)

2013-11-19 Thread Stéphane Graber
On Tue, Nov 19, 2013 at 04:17:46PM +, Serge Hallyn wrote: From: Serge Hallyn serge.hal...@ubuntu.com Signed-off-by: Serge Hallyn serge.hal...@ubuntu.com Acked-by: Stéphane Graber stgra...@ubuntu.com --- src/lxc/lxc_user_nic.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions

Re: [lxc-devel] [PATCH 5/9] lxc_user_nic: report failing filename in open_and_lock error cases

2013-11-19 Thread Stéphane Graber
On Tue, Nov 19, 2013 at 04:17:48PM +, Serge Hallyn wrote: From: Serge Hallyn serge.hal...@ubuntu.com Signed-off-by: Serge Hallyn serge.hal...@ubuntu.com Acked-by: Stéphane Graber stgra...@ubuntu.com --- src/lxc/lxc_user_nic.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions

Re: [lxc-devel] [PATCH 4/9] lxc_user_nic: only exit from main and usage

2013-11-19 Thread Stéphane Graber
On Tue, Nov 19, 2013 at 04:17:47PM +, Serge Hallyn wrote: From: Serge Hallyn serge.hal...@ubuntu.com Everywhere else return an error code instead. Signed-off-by: Serge Hallyn serge.hal...@ubuntu.com Acked-by: Stéphane Graber stgra...@ubuntu.com --- src/lxc/lxc_user_nic.c | 21

Re: [lxc-devel] [PATCH 6/9] lxc_user_nic: fix get_allotted description.

2013-11-19 Thread Stéphane Graber
, and print filename and errno if we failed to open conf file. Signed-off-by: Serge Hallyn serge.hal...@ubuntu.com Acked-by: Stéphane Graber stgra...@ubuntu.com --- src/lxc/lxc_user_nic.c | 14 -- 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/src/lxc

Re: [lxc-devel] [PATCH 7/9] lxc_user_nic: make all fns static for consistency

2013-11-19 Thread Stéphane Graber
On Tue, Nov 19, 2013 at 04:17:50PM +, Serge Hallyn wrote: From: Serge Hallyn serge.hal...@ubuntu.com Signed-off-by: Serge Hallyn serge.hal...@ubuntu.com Acked-by: Stéphane Graber stgra...@ubuntu.com --- src/lxc/lxc_user_nic.c | 42 +- 1 file

Re: [lxc-devel] [PATCH 9/9] lxc-user-nic: improve cull_entries

2013-11-19 Thread Stéphane Graber
On Tue, Nov 19, 2013 at 04:17:52PM +, Serge Hallyn wrote: From: Serge Hallyn serge.hal...@ubuntu.com Signed-off-by: Serge Hallyn serge.hal...@ubuntu.com Acked-by: Stéphane Graber stgra...@ubuntu.com --- src/lxc/lxc_user_nic.c | 42 -- 1 file

Re: [lxc-devel] [PATCH 8/9] lxc_user_nic: initialize cnic to NULL to please compiler

2013-11-19 Thread Stéphane Graber
On Tue, Nov 19, 2013 at 04:17:51PM +, Serge Hallyn wrote: From: Serge Hallyn serge.hal...@ubuntu.com Signed-off-by: Serge Hallyn serge.hal...@ubuntu.com Acked-by: Stéphane Graber stgra...@ubuntu.com --- src/lxc/lxc_user_nic.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion

[lxc-devel] [PATCH] lxc-info: Rework based on mailinglist thread

2013-11-15 Thread Stéphane Graber
change in the print functions). Signed-off-by: Stéphane Graber stgra...@ubuntu.com --- doc/ja/lxc-info.sgml.in | 27 --- doc/lxc-info.sgml.in| 21 - src/lxc/lxc-netstat.in | 2 +- src/lxc/lxc-ps.in | 2 +- src/lxc/lxc_info.c | 123

[lxc-devel] Sorry for the git mess

2013-11-15 Thread Stéphane Graber
Hey everyone, Sorry for the github flood, apparently one should mix up --all and --tags when doing a release or you end up with a dozen extra branch in a matter of seconds... Anyway, that's all fixed and alpha3 has been tagged. Enjoy! -- Stéphane Graber Ubuntu developer http://www.ubuntu.com

Re: [lxc-devel] Sorry for the git mess

2013-11-15 Thread Stéphane Graber
On Fri, Nov 15, 2013 at 07:48:59PM -0500, S.Çağlar Onur wrote: Hey Stéphane, On Fri, Nov 15, 2013 at 4:12 PM, Stéphane Graber stgra...@ubuntu.com wrote: Hey everyone, Sorry for the github flood, apparently one should mix up --all and --tags when doing a release or you end up

Re: [lxc-devel] [PATCH 1/1] lxc-start: if we pass in a config file, then don't use any loaded config

2013-11-14 Thread Stéphane Graber
On Thu, Nov 14, 2013 at 12:48:41PM -0600, Serge Hallyn wrote: To do this, add a c-clear_config() helper to the api. (this fixes the bug https://bugs.launchpad.net/bugs/1251352) Signed-off-by: Serge Hallyn serge.hal...@ubuntu.com Acked-by: Stéphane Graber stgra...@ubuntu.com --- src/lxc

Re: [lxc-devel] [PATCH] introduce lxcapi_add_device_node and lxcapi_remove_device_node to API (v3)

2013-11-13 Thread Stéphane Graber
-by: Stéphane Graber stgra...@ubuntu.com Note that Serge pushed v0 by accident but he then reverted it, so I'll push v3 now. --- src/lxc/lxccontainer.c | 100 + src/lxc/lxccontainer.h | 19 ++ 2 files changed, 119 insertions

Re: [lxc-devel] Ubuntu container failure on Fedora...

2013-11-12 Thread Stéphane Graber
make the container work again for you. -- Stéphane Graber Ubuntu developer http://www.ubuntu.com signature.asc Description: Digital signature -- November Webinars for C, C++, Fortran Developers Accelerate application

[lxc-devel] [PATCH] lxc-ubuntu*: Mark non-essential mounts optional

2013-11-12 Thread Stéphane Graber
Signed-off-by: Stéphane Graber stgra...@ubuntu.com --- templates/lxc-ubuntu-cloud.in | 6 +++--- templates/lxc-ubuntu.in | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/templates/lxc-ubuntu-cloud.in b/templates/lxc-ubuntu-cloud.in index 41f1c70..aeadc2d 100644

Re: [lxc-devel] lxc and network namespace

2013-11-12 Thread Stéphane Graber
names and list them. lxc-device already lets you move a network device inside the container. Patches to also allow moving them out of the container are welcome. -- Stéphane Graber Ubuntu developer http://www.ubuntu.com signature.asc Description: Digital signature

Re: [lxc-devel] [PATCH] introduce lxcapi_add_device_node and lxcapi_remove_device_node to API (v2)

2013-11-12 Thread Stéphane Graber
___ Lxc-devel mailing list Lxc-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lxc-devel -- Stéphane Graber Ubuntu developer http://www.ubuntu.com signature.asc Description: Digital signature

Re: [lxc-devel] [PATCH 1/1] lxc_abstract_unix_connect: accomodate containers started before Oct 28

2013-11-11 Thread Stéphane Graber
that commit. So if the correct command sock name doesn't work, try the preexising one. Note we can probably undo this after awhile. Maybe in august 2014. Signed-off-by: Serge Hallyn serge.hal...@ubuntu.com Acked-by: Stéphane Graber stgra...@ubuntu.com --- src/lxc/af_unix.c | 3 +++ 1

Re: [lxc-devel] [PATCH 1/1] api_start: refuse to run undaemonized if multithreaded

2013-11-08 Thread Stéphane Graber
On Thu, Nov 07, 2013 at 10:20:33PM -0600, Serge Hallyn wrote: lxc-start is not safe (and doesn't actually make sense) if the task is nto single-threaded. Signed-off-by: Serge Hallyn serge.hal...@ubuntu.com Acked-by: Stéphane Graber stgra...@ubuntu.com --- src/lxc/lxccontainer.c | 37

Re: [lxc-devel] [PATCH RFC] install lxc-user-nic with setuid bit set

2013-11-06 Thread Stéphane Graber
@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lxc-devel -- Stéphane Graber Ubuntu developer http://www.ubuntu.com signature.asc Description: Digital signature -- November Webinars for C, C++, Fortran Developers

Re: [lxc-devel] [RFC 0/2] Enabling unprivileged containers

2013-11-05 Thread Stéphane Graber
://lists.sourceforge.net/lists/listinfo/lxc-devel -- Stéphane Graber Ubuntu developer http://www.ubuntu.com signature.asc Description: Digital signature -- November Webinars for C, C++, Fortran Developers Accelerate application

Re: [lxc-devel] [RFC 1/2] create_run_template: tell the template what caller's uid was mapped to

2013-11-05 Thread Stéphane Graber
-by: Serge Hallyn serge.hal...@ubuntu.com There is just one info statement that looks a bit off a bit below, but with that one dropped or properly indented: Acked-by: Stéphane Graber stgra...@ubuntu.com --- src/lxc/conf.c| 6 +++--- src/lxc/conf.h| 2 +- src

Re: [lxc-devel] [PATCH] lua: add cmd_get_config_item to API

2013-11-04 Thread Stéphane Graber
On Mon, Nov 04, 2013 at 05:35:07PM -0500, Dwight Engen wrote: Signed-off-by: Dwight Engen dwight.en...@oracle.com I first got pretty confused between get_config_item and cmd_get_config_item but once I got my brain to parse this all properly, it looks fine :) Acked-by: Stéphane Graber stgra

Re: [lxc-devel] [PATCH 2/2] add statistics to lxc-info

2013-11-04 Thread Stéphane Graber
/gampad/clk?id=60136231iu=/4140/ostg.clktrk ___ Lxc-devel mailing list Lxc-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lxc-devel -- Stéphane Graber Ubuntu developer http://www.ubuntu.com signature.asc Description: Digital

Re: [lxc-devel] [PATCH 1/1] resolve lxcpath and rcfile arguments

2013-11-04 Thread Stéphane Graber
-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lxc-devel -- Stéphane Graber Ubuntu developer http://www.ubuntu.com signature.asc Description: Digital signature -- November Webinars for C, C

Re: [lxc-devel] [PATCH 1/2] fix cgpath test

2013-10-30 Thread Stéphane Graber
memory.soft_limit_in_bytes instead. Signed-off-by: Dwight Engen dwight.en...@oracle.com Acked-by: Stéphane Graber stgra...@ubuntu.com --- src/tests/cgpath.c | 25 - 1 file changed, 8 insertions(+), 17 deletions(-) diff --git a/src/tests/cgpath.c b/src/tests/cgpath.c index 26a79c3

Re: [lxc-devel] [PATCH] fix free() of args to startl

2013-10-29 Thread Stéphane Graber
the second pointer/arg. Signed-off-by: Dwight Engen dwight.en...@oracle.com Confirmed the crash here with two lines of python :) Acked-by: Stéphane Graber stgra...@ubuntu.com --- src/lxc/lxccontainer.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/lxc

Re: [lxc-devel] [PATCH] coverity 1097618: check for NULL return from calloc before deref

2013-10-29 Thread Stéphane Graber
On Tue, Oct 29, 2013 at 02:49:16PM -0400, Dwight Engen wrote: Signed-off-by: Dwight Engen dwight.en...@oracle.com Acked-by: Stéphane Graber stgra...@ubuntu.com --- src/lxc/cgroup.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/lxc/cgroup.c b/src/lxc/cgroup.c index cf1605a

[lxc-devel] Videos from the container mini-summit at Linux Plumbers 2013

2013-10-28 Thread Stéphane Graber
Hello, I remember quite a few of you asking whether the container mini-summit would be recorded and for those to be made available online. Well, this has now been done. We have videos for the following talks: == On the road to LXC 1.0 == Presented by: Stéphane Graber Video: http

Re: [lxc-devel] [PATCH 1/1] cgroup: set memory.use_hierarchy

2013-10-25 Thread Stéphane Graber
On Fri, Oct 25, 2013 at 12:16:17AM -0500, Serge Hallyn wrote: But don't fail the container start if that fails. Signed-off-by: Serge Hallyn serge.hal...@ubuntu.com Acked-by: Stéphane Graber stgra...@ubuntu.com --- src/lxc/cgroup.c | 22 ++ 1 file changed, 18

[lxc-devel] [PATCH] lxc-ls: Rewrite nesting code to use the attach API

2013-10-24 Thread Stéphane Graber
Signed-off-by: Stéphane Graber stgra...@ubuntu.com --- src/lxc/lxc-ls | 32 +++- 1 file changed, 19 insertions(+), 13 deletions(-) diff --git a/src/lxc/lxc-ls b/src/lxc/lxc-ls index cc0a1e7..9d45400 100644 --- a/src/lxc/lxc-ls +++ b/src/lxc/lxc-ls @@ -35,7 +35,7

Re: [lxc-devel] [PATCH 2/3] fix chowning of tty and console uids

2013-10-23 Thread Stéphane Graber
On Wed, Oct 23, 2013 at 01:02:58AM +, Serge Hallyn wrote: From: Serge Hallyn serge.hal...@ubuntu.com It needs to be done from the handler, not the container, since the container may not have the rights. Signed-off-by: Serge Hallyn serge.hal...@ubuntu.com Acked-by: Stéphane Graber

Re: [lxc-devel] [PATCH 3/3] lxc-busybox: if in userns, don't try to mknod

2013-10-23 Thread Stéphane Graber
(thinking about config, fstab, architecture handling, locking, ...) Acked-by: Stéphane Graber stgra...@ubuntu.com --- templates/lxc-busybox.in | 44 +++- 1 file changed, 31 insertions(+), 13 deletions(-) diff --git a/templates/lxc-busybox.in b

Re: [lxc-devel] [PATCH 4/3] start: use lxc-user-nic if we are not root

2013-10-23 Thread Stéphane Graber
into the container. Instead wait until the container is started, and call lxc-user-nic to create and assign the nics. Signed-off-by: Serge Hallyn serge.hal...@ubuntu.com Acked-by: Stéphane Graber stgra...@ubuntu.com --- src/lxc/conf.c | 39 +++ 1 file

[lxc-devel] [PATCH] lxc-debian: Add hwaddr handling logic

2013-10-23 Thread Stéphane Graber
Signed-off-by: Stéphane Graber stgra...@ubuntu.com --- templates/lxc-debian.in | 7 +++ 1 file changed, 7 insertions(+) diff --git a/templates/lxc-debian.in b/templates/lxc-debian.in index 4dd4910..645fe8d 100644 --- a/templates/lxc-debian.in +++ b/templates/lxc-debian.in @@ -207,6 +207,13

[lxc-devel] [PATCH] clang: Remaining changes

2013-10-23 Thread Stéphane Graber
). For reference, the clang output for those is: http://paste.ubuntu.com/6292460/ Signed-off-by: Stéphane Graber stgra...@ubuntu.com --- src/lxc/caps.c | 2 +- src/lxc/commands.c | 4 ++-- src/lxc/conf.c | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/lxc/caps.c

Re: [lxc-devel] [PATCH] apparmor: cache the are-we-enabled decision

2013-10-23 Thread Stéphane Graber
to - just cache the decision made at lsm_apparmor_drv_init(). Signed-off-by: Serge Hallyn serge.hal...@ubuntu.com Acked-by: Stéphane Graber stgra...@ubuntu.com --- src/lxc/lsm/apparmor.c | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/lxc/lsm/apparmor.c b/src/lxc

Re: [lxc-devel] [PATCH] clang: Remaining changes

2013-10-23 Thread Stéphane Graber
On Wed, Oct 23, 2013 at 11:04:58PM -0500, Serge Hallyn wrote: Quoting Stéphane Graber (stgra...@ubuntu.com): Those are a bit less obvious than those I pushed directly to master. All those changes were required to build LXC under clang here. With this, gcc can be replaced by clang

Re: [lxc-devel] [PATCH] umount $rootfs/lib on errors as well otherwise system ends up with stalled mounts

2013-10-22 Thread Stéphane Graber
Subject: [PATCH 1/1] lxc-busybox: don't copy temp mounts into mtab Signed-off-by: Serge Hallyn serge.hal...@ubuntu.com Yes, we should never write to mtab when in a separate mount namespace. Acked-by: Stéphane Graber stgra...@ubuntu.com --- templates/lxc-busybox.in | 2 +- 1 file changed

Re: [lxc-devel] [PATCH] install lua module 0644 instead of 0755

2013-10-22 Thread Stéphane Graber
On Tue, Oct 22, 2013 at 04:33:34PM -0400, Dwight Engen wrote: Fixes rpmlint error script-without-shebang. Checked other lua modules and none are installed with execute permission. Signed-off-by: Dwight Engen dwight.en...@oracle.com Acked-by: Stéphane Graber stgra...@ubuntu.com --- src

Re: [lxc-devel] [PATCH] update rpm .spec file

2013-10-22 Thread Stéphane Graber
https://lists.sourceforge.net/lists/listinfo/lxc-devel -- Stéphane Graber Ubuntu developer http://www.ubuntu.com signature.asc Description: Digital signature -- October Webinars: Code for Performance Free Intel webinars

Re: [lxc-devel] [website][PATCH] Add section for Oracle Linux

2013-10-21 Thread Stéphane Graber
On Mon, Oct 21, 2013 at 10:37:28AM -0400, Dwight Engen wrote: On Fri, 18 Oct 2013 17:24:27 -0400 Stéphane Graber stgra...@ubuntu.com wrote: Hey everyone, Just a quick e-mail to announce that http://linuxcontainers.org is now the official project website! I've setup a redirect

Re: [lxc-devel] [lxc/lxc] 07520b: Update maintainers and URLs

2013-10-21 Thread Stéphane Graber
thread locally. Having to look at two mailing-lists would make that quite a bit harder and I'm sure we're not the only ones who like to see the actual git commit after some patch received enough acks (as we don't always commit them to git immediately). -- Stéphane Graber Ubuntu developer http

Re: [lxc-devel] [lxc/lxc] 07520b: Update maintainers and URLs

2013-10-21 Thread Stéphane Graber
On Mon, Oct 21, 2013 at 01:14:21PM -0500, Serge Hallyn wrote: Quoting Stéphane Graber (stgra...@ubuntu.com): On Sun, Oct 20, 2013 at 12:28:05PM +0200, Natanael Copa wrote: On Sat, 19 Oct 2013 21:49:03 -0700 GitHub nore...@github.com wrote: Branch: refs/heads/master Home

Re: [lxc-devel] [PATCH RFC] get rid of '${lxcpath}_anon' idea

2013-10-21 Thread Stéphane Graber
-by: Serge Hallyn serge.hal...@ubuntu.com Acked-by: Stéphane Graber stgra...@ubuntu.com --- src/lxc/lxc_start.c | 9 +++-- 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/src/lxc/lxc_start.c b/src/lxc/lxc_start.c index a894513..2e3c3b3 100644 --- a/src/lxc/lxc_start.c

  1   2   3   4   5   6   >