I was wondering if it were possible to enable cgroups while still being able to use kernel switcher - namely, if cgroups and kernel configuration settings can be made persistent and automatic without having to manually recompile the kernel every time (if I have to, I will).
I ask because I need to enable enable some extra kernel configuration to use cgroups on my Sabayon install, according to lxc-checkconfig:
- Code: Select all
--- Namespaces ---
Namespaces: enabled
Utsname namespace: enabled
Ipc namespace: enabled
Pid namespace: enabled
User namespace: missing
Network namespace: enabled
Multiple /dev/pts instances: missing
--- Control groups ---
Cgroup: enabled
Cgroup clone_children flag: enabled
Cgroup device: enabled
Cgroup sched: enabled
Cgroup cpu account: enabled
Cgroup memory controller: missing
Cgroup cpuset: enabled
--- Misc ---
Veth pair device: enabled
Macvlan: enabled
Vlan: enabled
File capabilities: enabled
Note : Before booting a new kernel, you can check its configuration
usage : CONFIG=/path/to/config /usr/sbin/lxc-checkconfig
The missing things are those I need to enable in the kernel configuration.
if anyone could lend some help, that'd be much appreciated. Thanks!


