User namespace is not enabled in raring kernel
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Fix Released
|
Medium
|
Unassigned | ||
Raring |
Won't Fix
|
Medium
|
Unassigned | ||
Saucy |
Won't Fix
|
Medium
|
Unassigned | ||
Trusty |
Fix Released
|
Medium
|
Unassigned |
Bug Description
lxc-checkconfig reports that user namespace is missing in raring.
uname -a:
Linux example 3.8.0-25-generic #37-Ubuntu SMP Thu Jun 6 20:47:30 UTC 2013 i686 athlon i686 GNU/Linux
/proc/version_
Ubuntu 3.8.0-25.37-generic 3.8.13
lspci output: N/A (lspci not installed in this configuration)
lxc-checkconfig:
root@example:/# lxc-checkconfig
Kernel configuration not found at /proc/config.gz; searching...
Kernel configuration found at /boot/config-
--- Namespaces ---
Namespaces: enabled
Utsname namespace: enabled
Ipc namespace: enabled
Pid namespace: enabled
User namespace: missing
^^^^^^^
Network namespace: enabled
Multiple /dev/pts instances: enabled
--- Control groups ---
Cgroup: enabled
Cgroup namespace: required
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=
This may be caused by the kernel config used in this package:
CONFIG_UTS_NS=y
CONFIG_IPC_NS=y
CONFIG_PID_NS=y
CONFIG_NET_NS=y
that is, CONFIG_USER_NS was not selected in the kernel configuration.
For comparison, similar section in the kernel config of 64-bit Precise (12.04) looks as follows:
CONFIG_NAMESPACES=y
CONFIG_UTS_NS=y
CONFIG_IPC_NS=y
CONFIG_USER_NS=y
CONFIG_PID_NS=y
CONFIG_NET_NS=y
As result, lxc-start of a container with lxc.id_map is not possible (clone() returns EINVAL).
Thanks.
summary: |
- User namespace is not enabled in 32-bit raring kernel + User namespace is not enabled in raring kernel |
tags: | added: lxc |
tags: | added: user-namespace |
description: | updated |
Changed in linux (Ubuntu Trusty): | |
status: | Confirmed → Fix Released |
Changed in linux (Ubuntu Saucy): | |
status: | New → Triaged |
importance: | Undecided → Medium |
Changed in linux (Ubuntu Raring): | |
status: | New → Triaged |
importance: | Undecided → Medium |
tags: | added: saucy |
This bug is missing log files that will aid in diagnosing the problem. From a terminal window please run:
apport-collect 1191600
and then change the status of the bug to 'Confirmed'.
If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.
This change has been made by an automated script, maintained by the Ubuntu Kernel Team.