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

2014-07-22 Thread Serge Hallyn
Are you running with upstart as init? You may need systemd-services installed. Quoting Medhamsh V (medha...@gmail.com): > 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

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. You could've ment

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-21 Thread Fajar A. Nugraha
On Tue, Jul 22, 2014 at 1:51 PM, Medhamsh V wrote: > Normal user. I am trying to setup unprivileged containers. I want to run > them as non root user. Things work fine when I reboot the machine. So > just wondering what changes happen during this reboot and want to apply > them without rebooting.

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

2014-07-21 Thread Medhamsh V
Normal user. I am trying to setup unprivileged containers. I want to run them as non root user. Things work fine when I reboot the machine. So just wondering what changes happen during this reboot and want to apply them without rebooting. On 22 July 2014 12:19, Fajar A. Nugraha wrote: > On Tue, J

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

2014-07-21 Thread Fajar A. Nugraha
On 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 >> comment. It might give some ideas what

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 Fajar A. Nugraha
On Tue, Jul 22, 2014 at 12:59 PM, Medhamsh V wrote: > Hi, > > Thanks for the reply. cgmanager is already started. I tried restarting it as > well but no luck. 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-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 Ubuntu-14.04 I am facing > t

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

2014-07-21 Thread Fajar A. Nugraha
On Tue, Jul 22, 2014 at 12:46 PM, Medhamsh V wrote: > 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

[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