Re: [lxc-devel] [PATCH 2/2] lxc: use -iquote instead of -I

2011-11-04 Thread Cedric Le Goater
On 11/03/2011 05:41 PM, Greg Kurz wrote: > To avoid name collisions between local and system header > files. For example, if you try to include the > system file, you end up including the one from lxc... is the one. couldn't we just kill this header file which only contains one declaration for s

Re: [lxc-devel] [PATCH 2/2] lxc: use -iquote instead of -I

2011-11-04 Thread Greg Kurz
On Fri, 2011-11-04 at 11:18 +0100, Cedric Le Goater wrote: > On 11/03/2011 05:41 PM, Greg Kurz wrote: > > To avoid name collisions between local and system header > > files. For example, if you try to include the > > system file, you end up including the one from lxc... > > is the one. > Oops..

Re: [lxc-devel] [PATCH] lxc_cgroup_append_task_1of3() helper_1of2

2011-11-04 Thread Daniel Lezcano
On 10/06/2011 02:59 PM, "Axel Schöner" wrote: > Hi, > > the new patchset consists of 3 patches: > patch_1of3_lxc_cgroup_append_task_helper_cgroup > patch_2of3_lxc_cgroup_append_task_helper_namespace > patch_3of3_lxc_cgroup_append_task_in_lxc_attach > > I hope it is much better now. > Thanks to Greg

Re: [lxc-devel] [lxc-dev]how to use lxc directly in kernel

2011-11-04 Thread Guido Trotter
On Thu, Oct 27, 2011 at 6:35 AM, wrote: Hi, > Hi > >  I am a newbie to Linux container. >  Recently,I decide to using lxc derectly on linux kernel,but find it > hard to install. > (so far as I know,lxc tools is based on GUI Linux distribution). >  Anyone has this experience? >  or give me a hin

Re: [lxc-devel] [lxc-dev]how to use lxc directly in kernel

2011-11-04 Thread Guido Trotter
On Fri, Nov 4, 2011 at 4:42 PM, Guido Trotter wrote: > > That requires programming in C and calling syscalls. It's not quite > easier than using "lxc" :) > If you want a simpler way you can try using some tool on top of lxc to encompass the functionality. We have "ganeti" but there's definitely o

Re: [lxc-devel] [lxc-dev]how to use lxc directly in kernel

2011-11-04 Thread Daniel Smith
On 11/4/2011 12:42 PM, Guido Trotter wrote: > On Thu, Oct 27, 2011 at 6:35 AM, wrote: > > Hi, > >> Hi >> >> I am a newbie to Linux container. >> Recently,I decide to using lxc derectly on linux kernel,but find it >> hard to install. >> (so far as I know,lxc tools is based on GUI Linux distribu

[lxc-devel] current status of user namespace (linux 3.1.0)?

2011-11-04 Thread Daniel Robbins
Hi All, I'm curious as to the status of user namespaces in Linux 3.1.0 - how close is LXC to providing a fully isolated environment that is suitable for hosting? What known holes in the container isolation still exist? Regards, Daniel Robbins ---

Re: [lxc-devel] [PATCH] lxc_cgroup_append_task_1of3() helper_1of2

2011-11-04 Thread Greg Kurz
On Fri, 2011-11-04 at 14:29 +0100, Daniel Lezcano wrote: > On 10/06/2011 02:59 PM, "Axel Schöner" wrote: > > Hi, > > > > the new patchset consists of 3 patches: > > patch_1of3_lxc_cgroup_append_task_helper_cgroup > > patch_2of3_lxc_cgroup_append_task_helper_namespace > > patch_3of3_lxc_cgroup_appen