[Lxc-users] Ubuntu 12.04 LTSEnablementStack: missing user namespace

Stéphane Graber stgraber at ubuntu.com
Fri Mar 1 18:47:11 UTC 2013


On 02/28/2013 06:40 AM, Christoph Mitasch wrote:
> Hello,
> 
> I'm running a Ubuntu 12.04 system with LXC system containers.
> 
> Ubuntu 12.04.2 offers a 3.5 kernel through the LTSEnablementStack.
> https://wiki.ubuntu.com/Kernel/LTSEnablementStack
> 
> This 3.5 kernel does apparently NOT support user namespaces.
> 
> Is this a problem for LXC system containers on 12.04?
> Should a bug report be filed for that?
> 
> Thank you,
> Christoph

It's not a problem.

No kernel until 3.8 (and slightly higher actually) will really support
user namespaces.

In any case, the lxc version in 12.04 doesn't know how to use the user
namespaces even if they were there. So that output from lxc-checkconfig
is safe to ignore.

> # cat /proc/version
> Linux version 3.5.0-25-generic (buildd at allspice) (gcc version 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5) ) #39~precise1-Ubuntu SMP Tue Feb 26 00:07:14 UTC 2013
> # lxc-checkconfig 
> Kernel config /proc/config.gz not found, looking in other places...
> Found kernel config file /boot/config-3.5.0-25-generic
> --- 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 clone_children flag: 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
> 
> ------------------------------------------------------------------------------
> Everyone hates slow websites. So do we.
> Make your web apps faster with AppDynamics
> Download AppDynamics Lite for free today:
> http://p.sf.net/sfu/appdyn_d2d_feb
> _______________________________________________
> Lxc-users mailing list
> Lxc-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/lxc-users
> 


-- 
Stéphane Graber
Ubuntu developer
http://www.ubuntu.com

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 901 bytes
Desc: OpenPGP digital signature
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20130301/e1796dd0/attachment.pgp>


More information about the lxc-users mailing list