Re: [lxc-devel] [PATCH 1/4] Setting default suite to squeeze in debian template.

2010-12-15 Thread Daniel Lezcano
On 12/13/2010 11:15 PM, Daniel Baumann wrote: > Hi, > > please accept the following patch to set the default suite to squeeze > in debian template. Ok. I will before copy the lxc-debian script as a lxc-lenny script. Scott Bronson is working on improving the templates and he added a distro versio

Re: [lxc-devel] [PATCH 1/4] Setting default suite to squeeze in debian template.

2010-12-15 Thread Daniel Baumann
On 12/15/2010 06:25 PM, Daniel Lezcano wrote: > Ok. I will before copy the lxc-debian script as a lxc-lenny script. thanks. > Scott Bronson is working on improving the templates and he added a > distro version, allowing to specify lenny, squeeze and so on ... unrelated to the patches, fyi: i've

[lxc-devel] [PATCH] Correcting include argument when calling debootstrap.

2010-12-15 Thread Daniel Baumann
Hi, please accept the following patch to correct the include argument when calling debootstrap. Regards, Daniel -- Address:Daniel Baumann, Burgunderstrasse 3, CH-4562 Biberist Email: daniel.baum...@progress-technologies.net Internet: http://people.progress-technologies.

[lxc-devel] [PATCH 4/6] encapsulate the ns_cgroup

2010-12-15 Thread Daniel Lezcano
Create a single API to create a cgroup which will switch to the old ns_cgroup automatically. Signed-off-by: Daniel Lezcano --- src/lxc/cgroup.c | 10 ++ src/lxc/cgroup.h |4 ++-- src/lxc/lxc_unshare.c |2 +- src/lxc/start.c |4 ++-- 4 files changed, 15 inser

[lxc-devel] [PATCH 3/6] Change nscgroup interface

2010-12-15 Thread Daniel Lezcano
Prepare the nscgroup to be converted to the clone_children changes. Signed-off-by: Daniel Lezcano --- src/lxc/cgroup.c |4 ++-- src/lxc/cgroup.h |2 +- src/lxc/start.c |2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/lxc/cgroup.c b/src/lxc/cgroup.c index 96a

[lxc-devel] [PATCH 2/6] Remove unused nscgroup field

2010-12-15 Thread Daniel Lezcano
This field is unused. Signed-off-by: Daniel Lezcano --- src/lxc/cgroup.c |2 +- src/lxc/start.h |1 - 2 files changed, 1 insertions(+), 2 deletions(-) diff --git a/src/lxc/cgroup.c b/src/lxc/cgroup.c index cc57e71..96a8ecd 100644 --- a/src/lxc/cgroup.c +++ b/src/lxc/cgroup.c @@ -88,7 +

[lxc-devel] [PATCH 1/6] remove duplicate cgroup header

2010-12-15 Thread Daniel Lezcano
Signed-off-by: Daniel Lezcano --- src/lxc/start.c |1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/src/lxc/start.c b/src/lxc/start.c index b963b85..451d355 100644 --- a/src/lxc/start.c +++ b/src/lxc/start.c @@ -114,7 +114,6 @@ int signalfd(int fd, const sigset_t *mask, int

[lxc-devel] [PATCH 6/6] use clone_children cgroup's flag

2010-12-15 Thread Daniel Lezcano
If the ns_cgroup does not exist, we use the clone_children feature. Everytime a cgroup is created, we set this compatibility flag and we create the cgroup manually and add the child task to the cgroup. Signed-off-by: Daniel Lezcano --- src/lxc/cgroup.c | 75

[lxc-devel] [PATCH 5/6] Move common code to lxc_cgroup_create

2010-12-15 Thread Daniel Lezcano
For both the ns_cgroup and the usual cgroup creation, we have to check if a previous does not exist and remove it if it is empty. Signed-off-by: Daniel Lezcano --- src/lxc/cgroup.c | 82 +- 1 files changed, 38 insertions(+), 44 deletions(-)

Re: [lxc-devel] Installing the man pages?

2010-12-15 Thread Rob Landley
Second attempt, remembering to tell this darn webmail interface _not_ to spray HTML all over my email. (I switched it off as a global option, dunno why it keeps ignoring that.) For some reason, the most recent lxc release really doesn't want to install the pregenerated copies of the man pages