[lxc-users] Remounting cgroups and changing namespace.

2014-07-21 Thread Medhamsh V
Hello, While working with unprivileged containers in Ubuntu-14.04 I am facing the following issue. After installing all the requirements and creating a container, I am unable to start it untill I reboot the host. Once I reboot the host I am able to start the containers. Following is the error I g

Re: [lxc-users] Remounting cgroups and changing namespace.

2014-07-21 Thread Medhamsh V
Hi, Thanks for the reply. cgmanager is already started. I tried restarting it as well but no luck. On 22 July 2014 11:23, Fajar A. Nugraha wrote: > On Tue, Jul 22, 2014 at 12:46 PM, Medhamsh V wrote: > > Hello, > > > > While working with unprivileged containers in Ubu

Re: [lxc-users] Remounting cgroups and changing namespace.

2014-07-21 Thread Medhamsh V
Hello, On 22 July 2014 11:56, Fajar A. Nugraha wrote: > Try increasing the log verbosity for both lxc-start and cgmanager, as > in https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1335418 , last > comment. It might give some ideas what's wrong. Seems like something with could not determine the

Re: [lxc-users] Remounting cgroups and changing namespace.

2014-07-21 Thread Medhamsh V
Tue, Jul 22, 2014 at 1:41 PM, Medhamsh V wrote: >> Hello, >> >> On 22 July 2014 11:56, Fajar A. Nugraha wrote: >>> Try increasing the log verbosity for both lxc-start and cgmanager, as >>> in https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1335418 , last >&

Re: [lxc-users] Remounting cgroups and changing namespace.

2014-07-22 Thread Medhamsh V
On 22 July 2014 12:26, Fajar A. Nugraha wrote: > Ah. You could've mentioned it from the start :) I mentioned in the first mail. :-) > This is from the list archive: > http://permalink.gmane.org/gmane.linux.kernel.containers.lxc.general/7343 > > My guess is you simply need to logout and login to

Re: [lxc-users] Remounting cgroups and changing namespace.

2014-07-22 Thread Medhamsh V
Hello, The above works for me but I need to do it for every shell and each time I login. And things set fine when I reboot the machine. Isn't there a way to persist this? Thanks! On 22 July 2014 12:48, Medhamsh V wrote: > On 22 July 2014 12:26, Fajar A. Nugraha wrote: >> Ah

[lxc-users] Unprivileged containers and reboot of base

2014-09-05 Thread Medhamsh V
Hi, Though this was discussed several times I could not get through this. I use chef to provision base nodes on which I run unprivileged containers. So everything is programmatic and I leave a script which creates and starts containers in the base node. I use ubuntu-14.04 ami in Amazon. Right aft

Re: [lxc-users] Unprivileged containers and reboot of base

2014-09-05 Thread Medhamsh V
Hi, On 5 September 2014 19:51, Serge Hallyn wrote: > > "sudo cgm create all goatos && sudo cgm chown all user $(id -u user) $(id > > -g user)" > > do you mean cgm chown all goatos $(id -u user) $(id -g user) ? > > if not then that'll be your problem. > > Aaah. Sorry. I wrote it wrong way. I a

Re: [lxc-users] Unprivileged containers and reboot of base

2014-09-05 Thread Medhamsh V
Sure. Here it is https://dpaste.de/aVfv Commented the attach method. On 5 September 2014 22:44, Serge Hallyn wrote: > Quoting Medhamsh V (medha...@gmail.com): > > Hi, > > > > > > > > > > On 5 September 2014 19:51, Serge Hallyn wrote: > > > >