Re: [lxc-users] lxc-start fails with "no systemd controller mountpoint found"

2016-04-21 Thread Serge Hallyn
Quoting F Dave (felda...@gmail.com): > Turns out that it was cgroup was mounted under /cgroup, so I was able to Yes the point of the cgfsng driver was to simplify the cgroup code by requiring now-standard cgroup mountpoints, rather than searching the system for cgroup mounts. So $controller must

Re: [lxc-users] lxc-start fails with "no systemd controller mountpoint found"

2016-04-20 Thread F Dave
Turns out that it was cgroup was mounted under /cgroup, so I was able to create the folder there and mount it. However the container shows the same error: [root@devhost fs]# mount -t cgroup -o none,name=systemd cgroup /cgroup/systemd/ [root@devhost fs]# grep cg /proc/mounts cgroup /cgroup/cpuset

[lxc-users] lxc-start fails with "no systemd controller mountpoint found"

2016-04-20 Thread F Dave
Hello, I have a host system running Oracle Linux 6.7 and installed lxc 2.0.0 from source tarball. I created a node using: # lxc-create -n node2 -t download Distribution: Oracle Linux 6, amd64 I cannot start the node: [root@devhost ~]# lxc-start -n node2 -l debug -F -o /dev/stdout

Re: [lxc-users] lxc-start fails

2015-05-20 Thread SIVA SUBRAMANIAN.P
No, I'm trying to add it. On Wed, May 20, 2015 at 4:27 PM, Fajar A. Nugraha l...@fajar.net wrote: Does your busybox include init applet? Does it print init (among lots of other things) when you run busybox without arguments? -- Fajar On Thu, May 21, 2015 at 1:23 AM, SIVA SUBRAMANIAN.P

Re: [lxc-users] lxc-start fails

2015-05-20 Thread Fajar A. Nugraha
Does your busybox include init applet? Does it print init (among lots of other things) when you run busybox without arguments? -- Fajar On Thu, May 21, 2015 at 1:23 AM, SIVA SUBRAMANIAN.P psiv...@gmail.com wrote: Thanks Fajar, Now I'm able to configure statically linked busybox to get rid of

Re: [lxc-users] lxc-start fails

2015-05-18 Thread Fajar A. Nugraha
Read the messages (1) /usr/share/lxc/templates/lxc-busybox: line 182: file: command not found you don't have the necessary programs on your host (i.e. you don't have file, usually installed as /usr/bin/file). (2) warning : busybox is not statically linked. warning : The template script may

[lxc-users] lxc-start fails

2015-05-18 Thread Sivasubramanian Patchaiperumal
Hi, I'm trying to create and run busybox container, but facing below error. # lxc-create --template=busybox --name=u1 /usr/share/lxc/templates/lxc-busybox: line 182: file: command not found warning : busybox is not statically linked. warning : The template script may not correctly warning : setup

Re: [lxc-users] lxc-start fails with invalid pid on arm

2015-04-20 Thread Praveen Kumar Verma
...@lists.linuxcontainers.org] on behalf of Serge Hallyn [serge.hal...@ubuntu.com] Sent: Saturday, April 18, 2015 12:01 AM To: LXC users mailing-list Subject: Re: [lxc-users] lxc-start fails with invalid pid on arm Quoting Praveen Kumar Verma (praveen.ve...@lnttechservices.com): Hi Serge, Sorry I am not cleared

Re: [lxc-users] lxc-start fails with invalid pid on arm

2015-04-20 Thread Serge Hallyn
Quoting Praveen Kumar Verma (praveen.ve...@lnttechservices.com): Since both host name(dra7xx) were same, I was not able to differentiate between them. Now after changing the host name(prav), I can see the container is running. But I am seeing that there is continuous switching between the

Re: [lxc-users] lxc-start fails with invalid pid on arm

2015-04-17 Thread Serge Hallyn
Quoting Praveen Kumar Verma (praveen.ve...@lnttechservices.com): Hi Serge, Sorry I am not cleared; Please see my answers pointwise: i don't understand what you've done, what you wanted to have happen, or what actually happened. I took a busybox based filesystem which doesn't have any

Re: [lxc-users] lxc-start fails with invalid pid on arm

2015-04-06 Thread Praveen Kumar Verma
...@ubuntu.com] Sent: Saturday, April 04, 2015 7:44 AM To: LXC users mailing-list Subject: Re: [lxc-users] lxc-start fails with invalid pid on arm Quoting Praveen Kumar Verma (praveen.ve...@lnttechservices.com): Greetings, I am trying containers on busybox based file-system with kernel 3.12. I have

Re: [lxc-users] lxc-start fails with invalid pid on arm

2015-04-03 Thread Serge Hallyn
Quoting Praveen Kumar Verma (praveen.ve...@lnttechservices.com): Greetings, I am trying containers on busybox based file-system with kernel 3.12. I have successfully cross-compiled the lxc-1.1.0 package, able to run lxc-execute without any problem. Now I want to run linux with busybox

[lxc-users] lxc-start fails with invalid pid

2015-03-30 Thread Praveen Kumar Verma
Greetings, I am trying containers on busybox based file-system with kernel 3.12. I have successfully cross-compiled the lxc-1.1.0 package, able to run lxc-execute without any problem. Now I want to run linux with busybox template in container. I created a container under

Re: [lxc-users] lxc-start fails at apparmor detection

2014-08-07 Thread Tom Weber
Am Mittwoch, den 06.08.2014, 17:47 + schrieb Serge Hallyn: Quoting Tom Weber (l_lxc-us...@mail2news.4t2.com): Am Mittwoch, den 06.08.2014, 14:51 + schrieb Serge Hallyn: Quoting Tom Weber (l_lxc-us...@mail2news.4t2.com): Am Dienstag, den 05.08.2014, 23:34 + schrieb Serge

Re: [lxc-users] lxc-start fails at apparmor detection

2014-08-07 Thread Dwight Engen
On Tue, 05 Aug 2014 13:53:58 +0200 Tom Weber l_lxc-us...@mail2news.4t2.com wrote: Hello, my setup: debian7 lxc-1.0.4 from debian testing vanilla kernel.org kernel 3.14.14 i'm new to lxc and apparmor, so this took me a couple of hours to figure: lxc-start won't assign an

Re: [lxc-users] lxc-start fails at apparmor detection

2014-08-07 Thread Tom Weber
Am Donnerstag, den 07.08.2014, 17:23 -0400 schrieb Dwight Engen: On Tue, 05 Aug 2014 13:53:58 +0200 Tom Weber l_lxc-us...@mail2news.4t2.com wrote: Oh, and a little log message wether lxc-start detected apparmor or not and activates it would be _very_ helpfull :) lsm_init() INFO()s which

Re: [lxc-users] lxc-start fails at apparmor detection

2014-08-06 Thread Serge Hallyn
Quoting Tom Weber (l_lxc-us...@mail2news.4t2.com): Am Mittwoch, den 06.08.2014, 14:51 + schrieb Serge Hallyn: Quoting Tom Weber (l_lxc-us...@mail2news.4t2.com): Am Dienstag, den 05.08.2014, 23:34 + schrieb Serge Hallyn: Quoting Tom Weber (l_lxc-us...@mail2news.4t2.com):

Re: [lxc-users] lxc-start fails at apparmor detection

2014-08-05 Thread Serge Hallyn
Quoting Tom Weber (l_lxc-us...@mail2news.4t2.com): Hello, my setup: debian7 lxc-1.0.4 from debian testing vanilla kernel.org kernel 3.14.14 i'm new to lxc and apparmor, so this took me a couple of hours to figure: lxc-start won't assign an apparmor-profile to a container since it's

Re: [lxc-users] lxc-start fails at apparmor detection

2014-08-05 Thread Tom Weber
Am Dienstag, den 05.08.2014, 16:07 + schrieb Serge Hallyn: What you say makes sense. What do you think of the following (untested) patch? From 05864ae7f8b42724fb15ddea8a6d3d3ea9cf8749 Mon Sep 17 00:00:00 2001 From: Serge Hallyn serge.hal...@ubuntu.com Date: Tue, 5 Aug 2014 11:01:55