[lxc-users] cgmanager+lxc-attach

Serge Hallyn serge.hallyn at ubuntu.com
Mon Mar 3 23:04:53 UTC 2014


Quoting Tamas Papp (tompos at martos.bme.hu):
> 
> On 02/24/2014 04:00 PM, Tamas Papp wrote:
> > On 02/24/2014 03:36 PM, Serge Hallyn wrote:
> >> Quoting Tamas Papp (tompos at martos.bme.hu):
> >>> On 02/22/2014 06:25 AM, Serge Hallyn wrote:
> >>>> Ok, thanks Tamas - this is a bug in how the cgproxy starts up
> >>>> on an older kernel.
> >>>>
> >>>> As a workaround until I get it fixed, you can
> >>>>
> >>>> sudo stop cgproxy
> >>>> sudo stop cgmanager
> >>>> sudo rm -rf /sys/fs/cgroup/cgmanager*
> >>>>
> >>>> then in one terminal:
> >>>>
> >>>> sudo /sbin/cgmanager --debug
> >>>>
> >>>> and in another:
> >>>>
> >>>> sudo /sbin/cgproxy --debug
> >>>>
> >>> hi Serge,
> >>>
> >>> Precise:
> >> Hi,
> >>
> >> these look fine to me.  Are you saying this worked, or did
> >> not work?
> > Did not work.
> >
> >>> There is no cgproxy..
> >> ?  You mean /sbin/cgproxy does not exist?
> > I don't know, probably I was too tired.
> > BTW, I meant there was no cgproxy _package_, but I can see, there is no
> > cgproxy package anywhere...don't know, why I thought...sorry.
> >
> >
> > Anyway, the point is, that it doesn't work on precise and saucy.
> > Does it work for you?
> >
> >>> ps.: /bin/ls sometime list / sometime /root. I could not figure out the
> >>> logic. Is there any, or may it be another bug?
> >> I don't understand.  You typed /bin/ls in the container and sometimes
> >> see / and sometimes root?  How are you logging in?  lxc-attach?
> > I didn't login just run '/bin/ls'
> >
> > lxc-attach -n container /bin/ls
> >
> > But forget it, I'll come back, if I can reproduce it or I have more details.
> >
> >
> 
> 
> hi Serge,
> 
> Do you have any idea about this?

No - I take it you can still reproduce?  What might be helpful is if you
could show how to start from a fresh ec2 or rackspace cloud instance
(specifying which AMI or distro/release to start from), and show the
precise commands you are using to reproduce it.

-serge


More information about the lxc-users mailing list