[cgmanager-devel] cgmanager fails if controller is not enabled

Marcin Szewczyk cgmanager at wodny.org
Sun Oct 12 22:42:18 UTC 2014


On Sun, Oct 12, 2014 at 08:27:38PM +0000, Serge Hallyn wrote:
> Thanks, this looks like the right fix.

The one thing that bothers me is if the interface is stable. I do not
touch kernel stuff very often. But I am wondering if it is better now
(getting the last column) or maybe I should have used strtok() to get
the 4th column...

Or maybe the /proc/cgroups header should be read and checked for our
assumptions... What do you think? Should I write a bit extended piece of
code?

-- 
Marcin Szewczyk                       http://wodny.org
mailto:Marcin.Szewczyk at wodny.borg  <- remove b / usuĊ„ b
xmpp:wodny at ubuntu.pl                  xmpp:wodny at jabster.pl


More information about the cgmanager-devel mailing list