[Lxc-users] LXC: missing /dev/pts/nn

Gus Power gus at energizedwork.com
Mon Jun 6 16:14:02 UTC 2011


Hi,

I've got a box with 15 lxc containers running happily. However I tried
to setup another container today and met with some resistance:

      lxc-start 1307376067.433 WARN     lxc_cgroup - using deprecated
ns_cgroup
      lxc-start 1307376067.567 WARN     lxc_conf - rootfs specified but
no console found at '/usr/lib/lxc/rootfs/dev/console'
      lxc-start 1307376067.568 WARN     lxc_conf - failed to mount
'/dev/pts/26'->'/usr/lib/lxc/rootfs/dev/tty1'
      lxc-start 1307376067.572 ERROR    lxc_conf - No such file or
directory - failed to mount a new instance of '/dev/pts'
      lxc-start 1307376067.572 ERROR    lxc_conf - failed to setup the
new pts instance
      lxc-start 1307376067.572 ERROR    lxc_start - failed to setup the
container
      lxc-start 1307376067.572 ERROR    lxc_sync - invalid sequence
number 1. expected 2


> lxc-version
lxc version: 0.7.4.1

> uname -a
Linux hn2 2.6.38-gentoo-r6 #4 SMP Wed Jun 1 09:55:02 BST 2011 x86_64
Quad-Core AMD Opteron(tm) Processor 8354 AuthenticAMD GNU/Linux

Looking in /dev/pts I see that for some reason 26 is indeed missing:
> ls -alh /dev/pts/
...

crw-------  1 root    root 136,  2 Jun  2 14:53 2
crw-------  1 root    root 136, 20 Jun  3 13:11 20
crw-------  1 root    tty  136, 21 Jun  3 13:11 21
crw-------  1 root    root 136, 22 Jun  3 13:13 22
crw-------  1 root    tty  136, 23 Jun  3 13:13 23
crw-------  1 root    root 136, 24 Jun  3 14:31 24
crw-------  1 root    tty  136, 25 Jun  3 14:31 25
crw-------  1 root    root 136, 28 Jun  3 15:09 28
crw-------  1 root    tty  136, 29 Jun  3 15:09 29
crw-------  1 root    tty  136,  3 Jun  2 14:45 3

...

I'm loathed to just try and make another device node and hope for the
best. Can anyone shed some light on what may or may not be happening here?

Thanks!

Gus.




More information about the lxc-users mailing list