Commit 004fc784 by Serge Hallyn Committed by Stéphane Graber

cgfsng: defer to cgfs if needed subsystems are not available

This requires us to check that at cgfsng_ops_init, rather than cgfs_init. Cache the hierarchy and cgroup.use info globally rather than putting it into the per-container info, as cgmanager does. This is ok as both cgroup.use and the list of usable hierarchies are in fact global to a lxc run. Closes #952 Signed-off-by: 's avatarSerge Hallyn <serge.hallyn@ubuntu.com>
parent 08be058f
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment