[lxc-devel] lxc0.8 and hierarchies

2012-05-02 Thread William Dauchy
Hello, I tested lxc0.8 rc1 and saw that cgroups are now created in /cgroup/lxc/, so lxc-create will create the cgroups in this directory as a cgroups hierarchy. It makes the thing unusable when using cgroups capabilities that does not support hierarchies. I'm thinking about CONFIG_NETPRIO_CGROUP

Re: [lxc-devel] lxc0.8 and hierarchies

2012-05-02 Thread William Dauchy
Hi Serge, Thanks for your quick reply. On Wed, May 2, 2012 at 4:14 PM, Serge Hallyn serge.hal...@canonical.com wrote: The issue of what to do with control groups which do not support hierarchies has been discussed on lkml recently.  I thought (though maybe I'm wrong) the decision was that

Re: [lxc-devel] lxc0.8 and hierarchies

2012-05-02 Thread Ward, David - 0663 - MITLL
On 02/05/12 10:14, Serge Hallyn wrote: Quoting William Dauchy (wdauchy-re5jqeeqqe8avxtiumw...@public.gmane.org): Hello, I tested lxc0.8 rc1 and saw that cgroups are now created in /cgroup/lxc/, so lxc-create will create the cgroups in this directory as a cgroups hierarchy. It makes the

[lxc-devel] lxc0.8rc2

2012-05-02 Thread William Dauchy
Hello, I saw that lxc-0.8.0-rc2 has been tagged 6 weeks ago (http://lxc.git.sourceforge.net/git/gitweb.cgi?p=lxc/lxc;a=summary) I was wondering why there was no package available in http://lxc.sourceforge.net/download/lxc/ (since rc1 is present) Regards, -- William

Re: [lxc-devel] [PATCHv3 05/14] cgroup: additional fix for deprecated ns subsystem

2012-05-02 Thread Ward, David - 0663 - MITLL
On 21/03/12 19:28, Ward, David - 0663 - MITLL wrote: When a hierarchy contains the 'ns' subsystem, do not append '/lxc' to the parent cgroup. Update surrounding comments for consistency. Signed-off-by: David Warddavid.w...@ll.mit.edu This patch is actually unnecessary. The existing code

Re: [lxc-devel] [PATCHv3 05/14] cgroup: additional fix for deprecated ns subsystem

2012-05-02 Thread Daniel Lezcano
On 05/02/2012 06:43 PM, Ward, David - 0663 - MITLL wrote: On 21/03/12 19:28, Ward, David - 0663 - MITLL wrote: When a hierarchy contains the 'ns' subsystem, do not append '/lxc' to the parent cgroup. Update surrounding comments for consistency. Signed-off-by: David Warddavid.w...@ll.mit.edu

[lxc-devel] [PATCH 1/1] put quotes around $line to avoid expansion of its contents.

2012-05-02 Thread Serge Hallyn
Otherwise things like '*:*' in config can get expanded if there is a matching filename in cwd. Signed-off-by: Serge Hallyn serge.hal...@ubuntu.com --- src/lxc/lxc-clone.in |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lxc/lxc-clone.in b/src/lxc/lxc-clone.in index