LXC support in 2.6.38

Bug #737899 reported by Stéphane Graber
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux-linaro-mx51 (Ubuntu)
Won't Fix
Undecided
Unassigned

Bug Description

Hello,

I'd like to use my mx51 system to run LXC containers.
Running lxc-checkconfig gives me the following output:
root@linaro:~# lxc-checkconfig
Kernel config /proc/config.gz not found, looking in other places...
Found kernel config file /boot/config-2.6.38-1000-linaro-mx51
--- Namespaces ---
Namespaces: enabled
Utsname namespace: missing
Ipc namespace: required
Pid namespace: required
User namespace: missing
Network namespace: missing
Multiple /dev/pts instances: missing

--- Control groups ---
Cgroup: required
Cgroup namespace: missing
Cgroup device: missing
Cgroup sched: missing
Cgroup cpu account: missing
Cgroup memory controller: missing

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

That indicates that the following REQUIRED options are missing:
 - CONFIG_IPC_NS
 - CONFIG_PID_NS
 - CONFIG_CGROUPS

And the following RECOMMENDED options are missing:
 - CONFIG_UTS_NS
 - CONFIG_USER_NS
 - CONFIG_NET_NS
 - CONFIG_CGROUP_NS
 - CONFIG_CGROUP_DEVICE
 - CONFIG_CGROUP_SCHED
 - CONFIG_CGROUP_CPUACCT
 - CONFIG_CGROUP_MEM_RES_CTLR
 - CONFIG_VETH
 - CONFIG_MACVLAN
 - CONFIG_SECURITY_FILE_CAPABILITIES

Among the RECOMMENDED ones, I consider the following essential for a usable LXC setup:
 - CONFIG_UTS_NS
 - CONFIG_USER_NS
 - CONFIG_NET_NS
 - CONFIG_CGROUP_NS
 - CONFIG_CGROUP_DEVICE
 - CONFIG_VETH
 - CONFIG_MACVLAN

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

For comparison, on a regular Ubuntu natty system (amd64), I get the following output from lxc-checkconfig:

stgraber@castiana:~$ lxc-checkconfig
Kernel config /proc/config.gz not found, looking in other places...
Found kernel config file /boot/config-2.6.38-7-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

Revision history for this message
Loïc Minier (lool) wrote :

Would be nice to have LXC support in Linaro kernels to enable server work

Changed in linux-linaro-mx51 (Ubuntu):
status: New → Confirmed
status: Confirmed → Triaged
Changed in linux-linaro-mx51 (Ubuntu):
status: Triaged → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.