Missing configuration for LXC containers on omap4
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux-ti-omap4 (Ubuntu) |
Fix Released
|
Undecided
|
Andy Whitcroft | ||
Natty |
Fix Released
|
Undecided
|
Paolo Pisati |
Bug Description
SRU Justification:
Impact: without these two options, lcx won't work on omap4.
Testcase:
flag@omap:~$ 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_
--- 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
enabled
Fix: The attached patch enables the necessary options.
-------
The following configuration required for LXC is currently missing for linux-ti-omap4:
- CONFIG_USER_NS
- DEVPTS_
- CONFIG_
These are at the least the obvious ones as reported by "lxc-checkconfig".
Below is the output on ARM and on x86:
stgraber@
--- 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_
--- 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_
enabled
Note : Before booting a new kernel, you can check its configuration
usage : CONFIG=
stgraber@
Kernel config /proc/config.gz not found, looking in other places...
Found kernel config file /boot/config-
--- 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=
Changed in linux-ti-omap4 (Ubuntu): | |
assignee: | nobody → Paolo Pisati (p-pisati) |
Changed in linux-ti-omap4 (Ubuntu): | |
status: | New → Invalid |
Changed in linux-ti-omap4 (Ubuntu Natty): | |
status: | New → Fix Committed |
assignee: | nobody → Paolo Pisati (p-pisati) |
Changed in linux-ti-omap4 (Ubuntu): | |
assignee: | Paolo Pisati (p-pisati) → nobody |
Changed in linux-ti-omap4 (Ubuntu): | |
status: | Invalid → Fix Released |
Changed in linux-ti-omap4 (Ubuntu): | |
status: | Fix Released → Fix Committed |
assignee: | nobody → Andy Whitcroft (apw) |
Note that I added the missing config next to each "missing" by looking at lxc-checkconfig's code.