Comment 0 for bug 787749

Revision history for this message
Stéphane Graber (stgraber) wrote :

The following configuration required for LXC is currently missing for linux-ti-omap4:
 - CONFIG_USER_NS
 - DEVPTS_MULTIPLE_INSTANCES
 - CONFIG_SECURITY_FILE_CAPABILITIES

These are at the least the obvious ones as reported by "lxc-checkconfig".

Below is the output on ARM and on x86:

stgraber@castiana:~/Desktop$ CONFIG=/home/stgraber/.cache/.fr-2ObRP4/boot/config-2.6.38-1209-omap4 lxc-checkconfig
--- Namespaces ---
Namespaces: enabled
Utsname namespace: enabled
Ipc namespace: enabled
Pid namespace: enabled
User namespace: missing CONFIG_USER_NS
Network namespace: enabled
Multiple /dev/pts instances: missing DEVPTS_MULTIPLE_INSTANCES

--- Control groups ---
Cgroup: enabled
Cgroup namespace: enabled
Cgroup device: enabled
Cgroup sched: enabled
Cgroup cpu account: enabled
Cgroup memory controller: enabled
Cgroup cpuset: enabled

--- Misc ---
Veth pair device: enabled
Macvlan: enabled
Vlan: enabled
File capabilities: missing CONFIG_SECURITY_FILE_CAPABILITIES
enabled

Note : Before booting a new kernel, you can check its configuration
usage : CONFIG=/path/to/config /usr/bin/lxc-checkconfig

stgraber@castiana:~/Desktop$ lxc-checkconfig
Kernel config /proc/config.gz not found, looking in other places...
Found kernel config file /boot/config-2.6.39-2-generic
--- Namespaces ---
Namespaces: enabled
Utsname namespace: enabled
Ipc namespace: enabled
Pid namespace: enabled
User namespace: enabled
Network namespace: enabled
Multiple /dev/pts instances: enabled

--- Control groups ---
Cgroup: enabled
Cgroup namespace: enabled
Cgroup device: enabled
Cgroup sched: enabled
Cgroup cpu account: enabled
Cgroup memory controller: enabled
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/bin/lxc-checkconfig