[lxc-users] using cgroups

Serge E. Hallyn serge at hallyn.com
Sun Jun 26 20:01:33 UTC 2016


Quoting Mike Wright (nobody at nospam.hostisimo.com):
> Hi all,
> 
> cgmanager and cgmanager-utils are installed.
> 
> Environment is ubuntu-xenial, lxc-2.0.1, cgm-0.29

why 0.29?  xenial should have 0.39-2ubuntu5.  I'm on xenial
using 0.41-2~ubuntu16.04.1~ppa1 from the ubuntu-lxc
ppa.  

0 ✓ serge at sl ~ $ sudo cgm create all me
[sudo] password for serge:
0 ✓ serge at sl ~ $ sudo cgm chown all me $(id -u) $(id -g)
0 ✓ serge at sl ~ $ 

Now, I'm not running systemd so it's possible systemd is
doing something unorthodox again.  But really it sounds
like a bug that shouldve been fixed in 0.27-0ubuntu6 -
where cgmanager didn't deal well with comounted controllers.

> Trying to explore cgroups using:
> 
>    http://linuxcontainers/cgmanager/getting-started.
> 
> "sudo cgm create all me" no errors;
> "sudo cgm chown all me $(id -u) $(id -g)" errors with:
> 
>    "call to cgmanager_chown_sync failed: invalid request"
> 
> Not making it very far here :)
> 
> Any ideas what is lacking?
> 
> Thanks,
> Mike Wright
> _______________________________________________
> lxc-users mailing list
> lxc-users at lists.linuxcontainers.org
> http://lists.linuxcontainers.org/listinfo/lxc-users


More information about the lxc-users mailing list