[lxc-devel] problem with user namespace as root

Stephan Sachse ste.sachse at gmail.com
Wed Feb 12 19:18:38 UTC 2014


i've lost my brain! i'm not a c programmer. someone who knows what
he's doing, should have a look on it.

it errors out with:

lxc-start 1392232180.856 INFO     lxc_conf - Creating initial consoles
under /usr/lib64/lxc/rootfs/dev
lxc-start 1392232180.856 INFO     lxc_conf - Populating /dev under
/usr/lib64/lxc/rootfs in_userns:1
lxc-start 1392232180.856 INFO     lxc_conf - Populated /dev under
/usr/lib64/lxc/rootfs in_userns:1
lxc-start 1392232180.856 INFO     lxc_conf - created
/usr/lib64/lxc/rootfs/dev/lxc
lxc-start 1392232180.856 INFO     lxc_conf - console has been setup on
lxc/console
lxc-start 1392232180.856 INFO     lxc_conf - 4 tty(s) has been setup
lxc-start 1392232180.856 DEBUG    lxc_conf - created
'/usr/lib64/lxc/rootfs/lxc_putold' directory
lxc-start 1392232180.856 DEBUG    lxc_conf - mountpoint for old rootfs
is '/usr/lib64/lxc/rootfs/lxc_putold'
lxc-start 1392232180.856 DEBUG    lxc_conf - pivot_root syscall to
'/usr/lib64/lxc/rootfs' successful
lxc-start 1392232180.861 INFO     lxc_conf - lazy unmount of '/lxc_putold'
lxc-start 1392232180.861 WARN     lxc_conf - failed to unmount '/lxc_putold/dev'
lxc-start 1392232180.861 WARN     lxc_conf - failed to unmount
'/lxc_putold/dev/pts'
lxc-start 1392232180.861 WARN     lxc_conf - failed to unmount
'/lxc_putold/dev/shm'
lxc-start 1392232180.861 WARN     lxc_conf - failed to unmount
'/lxc_putold/proc'
lxc-start 1392232180.861 WARN     lxc_conf - failed to unmount
'/lxc_putold/proc/sys/fs/binfmt_misc'
lxc-start 1392232180.861 WARN     lxc_conf - failed to unmount '/lxc_putold/sys'
lxc-start 1392232180.861 WARN     lxc_conf - failed to unmount
'/lxc_putold/boot'
lxc-start 1392232180.861 WARN     lxc_conf - failed to unmount
'/lxc_putold/media/dataa'
lxc-start 1392232180.861 WARN     lxc_conf - failed to unmount
'/lxc_putold/cgroup/cpuset'
lxc-start 1392232180.861 WARN     lxc_conf - failed to unmount
'/lxc_putold/cgroup/cpu'
lxc-start 1392232180.861 WARN     lxc_conf - failed to unmount
'/lxc_putold/cgroup/cpuacct'
lxc-start 1392232180.861 WARN     lxc_conf - failed to unmount
'/lxc_putold/cgroup/memory'
lxc-start 1392232180.861 WARN     lxc_conf - failed to unmount
'/lxc_putold/cgroup/devices'
lxc-start 1392232180.861 WARN     lxc_conf - failed to unmount
'/lxc_putold/cgroup/freezer'
lxc-start 1392232180.861 WARN     lxc_conf - failed to unmount
'/lxc_putold/cgroup/net_cls'
lxc-start 1392232180.861 WARN     lxc_conf - failed to unmount
'/lxc_putold/cgroup/blkio'
lxc-start 1392232180.861 ERROR    lxc_conf - Invalid argument - failed
to mount a new instance of '/dev/pts'
lxc-start 1392232180.861 ERROR    lxc_conf - failed to setup the new
pts instance
lxc-start 1392232180.861 ERROR    lxc_start - failed to setup the container
lxc-start 1392232180.861 ERROR    lxc_sync - invalid sequence number
1. expected 2
lxc-start 1392232180.862 WARN     lxc_conf - failed to remove interface '(null)'
lxc-start 1392232180.878 ERROR    lxc_start - failed to spawn 'fedora1'

/stephan

-- 
Software is like sex, it's better when it's free!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: lxc-setup_autodev.patch
Type: text/x-patch
Size: 3752 bytes
Desc: not available
URL: <http://lists.linuxcontainers.org/pipermail/lxc-devel/attachments/20140212/093b15e2/attachment.bin>


More information about the lxc-devel mailing list