On Mon, 7 Jan 2013 09:33:30 -0600
Serge Hallyn <serge.hal...@canonical.com> wrote:

> Quoting Shibashish (shi...@gmail.com):
> > I am on CentOS 6.3 and got lxc working on it. But when I run lxc-ps
> > or lxc-netstat, i get the following errors...
> > 
> > lxc-ps: no cgroup mount point found
> > lxc-netstat: no cgroup mount point found
> > 
> > 
> > Relevant lines in lxc-ps.in... (I tried bot the options)
> > 
> >                 # Get the filesystem mountpoint of the hierarchy
> >                 #mountpoint=$(grep -E "^cgroup [^ ]+ [^ ]+ ([^
> > ]+,)?$subsystems(,[^ ]+)? " /proc/self/mounts | cut -d ' ' -f 2)
> >                 mountpoint=$(grep -E "^[^ ]+ [^ ]+ cgroup ([^
> > ]+,)?$subsystems(,[^ ]+)? " /proc/self/mounts | cut -d ' ' -f 2)
> 
> Your problem here (in the second one) is the space before the ".  If
> you remove that you should get results.

I think the same problem happens with busybox.
 
> This appears to be what is in the upstream lxc (on sf.net).  The
> version in github staging (git://github.com/lxc/lxc.git #staging) is
> quite different, you may want to try building and running that.

Yes, I would expect the staging version work. If not, let me know and
I'll fix it.

Thanks!

-nc

------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122412
_______________________________________________
Lxc-devel mailing list
Lxc-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lxc-devel

Reply via email to