** Patch added:
"0001-UBUNTU-Config-Turn-on-CONFIG_USER_NS-and-DEVPTS_MULT.patch"
https://bugs.launchpad.net/ubuntu/+source/linux-ti-omap4/+bug/787749/+attachment/2159150/+files/0001-UBUNTU-Config-Turn-on-CONFIG_USER_NS-and-DEVPTS_MULT.patch
** Description changed:
+ 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_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
+ 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_MULTIPLE_INSTANCES
- - CONFIG_SECURITY_FILE_CAPABILITIES
+ - 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
+ 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
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/787749
Title:
Missing configuration for LXC containers on omap4
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs