[Lxc-users] start fails with user namespaces /dev/pts/5

Serge Hallyn serge.hallyn at ubuntu.com
Wed May 22 20:36:41 UTC 2013


It should just work with a 3.9.2 kernel.  I'm using

http://kernel.ubuntu.com/git?p=serge/quantal-userns.git;a=shortlog;h=refs/heads/saucy.20130502.userns1

which as you can see doesn't add features.

Did you create the container with just 'sudo lxc-create -t ubuntu -n r1'?
Is lxc.ttydir set to lxc in the configuration file?

-serge

Quoting Niklas Fuchs (nkfuchs at yahoo.de):
> hi,
> 
> i tried to use user namespaces on ubuntu raring, lxc 0.9.0, to be able
> to use it i compiled my own 3.9.2 kernel and used the userns-convert.sh
> the template was ubuntu.
> 
> config:
> lxc.autodev = 0
> lxc.id_map = u 0 200000 10000
> lxc.id_map = g 0 200000 10000
> 
> log:
> lxc-start: Operation not permitted - failed to set mode '020600' to
> '/dev/pts/5'
> lxc-start: failed to setup the console for 'test1'
> lxc-start: failed to setup the container
> lxc-start: invalid sequence number 1. expected 2
> lxc-start: failed to spawn 'test1'
> 
> did i miss anything or is the feature still experimental?
> 
> thanks, niklas
> 
> ------------------------------------------------------------------------------
> Try New Relic Now & We'll Send You this Cool Shirt
> New Relic is the only SaaS-based application performance monitoring service 
> that delivers powerful full stack analytics. Optimize and monitor your
> browser, app, & servers with just a few lines of code. Try New Relic
> and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may
> _______________________________________________
> Lxc-users mailing list
> Lxc-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/lxc-users




More information about the lxc-users mailing list