Hi!

I'm on Linux 3.8 and lxc 0.9.0.
How are the user namespaces in lxc supposed to work?

I've created an opensuse instance using "lxc-create -n foo -t
/usr/share/lxc/templates/lxc-opensuse" and the added these two lines
to the config:
lxc.id_map = u 0 100000 10000
lxc.id_map = g 0 100000 10000

But now lxc-start fails.
lxc-start: Operation not permitted - Failed to mount /dev at
/usr/lib64/lxc/rootfs

The following syscall fails:
mount("none", "/usr/lib64/lxc/rootfs/dev", "tmpfs", 0, "size=100000")
= -1 EPERM (Operation not permitted)

Am I missing something obvious?

--
Thanks,
//richard

------------------------------------------------------------------------------
Minimize network downtime and maximize team effectiveness.
Reduce network management and security costs.Learn how to hire 
the most talented Cisco Certified professionals. Visit the 
Employer Resources Portal
http://www.cisco.com/web/learning/employer_resources/index.html
_______________________________________________
Lxc-devel mailing list
Lxc-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lxc-devel

Reply via email to