On Apr 06, Daniel Lezcano wrote:
> I would not rely on that because lxc may evolve to not use the cgroup if
> not present.
>
> If you use upstart, you can check the 'container=lxc' env variable in
> the udev init script in order to know if you are in a container.
> Otherwise for sysvrc init
---
src/lxc/namespace.c |7 ++-
1 files changed, 6 insertions(+), 1 deletions(-)
diff --git a/src/lxc/namespace.c b/src/lxc/namespace.c
index 8263fe7..5928eaa 100644
--- a/src/lxc/namespace.c
+++ b/src/lxc/namespace.c
@@ -67,9 +67,14 @@ pid_t lxc_clone(int (*fn)(void *), void *arg, int fl
On Mon, 2011-04-11 at 12:42 -0400, Michael Santos wrote:
> ---
> src/lxc/namespace.c |7 ++-
> 1 files changed, 6 insertions(+), 1 deletions(-)
>
> diff --git a/src/lxc/namespace.c b/src/lxc/namespace.c
> index 8263fe7..5928eaa 100644
> --- a/src/lxc/namespace.c
> +++ b/src/lxc/namespace.
On Mon, Apr 11, 2011 at 12:42:49PM -0500, Nathan Lynch wrote:
> On Mon, 2011-04-11 at 12:42 -0400, Michael Santos wrote:
> > ---
> > src/lxc/namespace.c |7 ++-
> > 1 files changed, 6 insertions(+), 1 deletions(-)
> >
> > diff --git a/src/lxc/namespace.c b/src/lxc/namespace.c
> > index 82
On Wed, 2011-04-06 at 08:08 -0500, Rob Landley wrote:
> On 04/06/2011 05:43 AM, Daniel Lezcano wrote:
> > On 03/22/2011 10:20 AM, Nathan McSween wrote:
> >> Can I get a quick rundown of what is implemented w.r.t UID/GID
> >> containerization, is it safe yet to give containerized root to an
> >> ev