On 10/17/2010 08:19 AM, Toens Bueker wrote: > Hi *, > > I just recently stumbled upon lxc and wanted to give it a go. My > testplatform is a maverick. As various posts on the list show, there > is an issue with /dev/pts or /dev/ptmx: > > r...@sokka:~# lxc-start -n testlxc > lxc-start: No such file or directory - failed to mount a new instance of > '/dev/pts' > lxc-start: failed to setup the new pts instance > lxc-start: failed to setup the container > lxc-start: invalid sequence number 1. expected 2 > lxc-start: failed to spawn 'testlxc' > lxc-start: Device or resource busy - failed to remove cgroup '/cgroup/testlxc' > > In order to use severeal instances of /dev/pts it was suggested that > /dev/ptmx should be a symlink to /dev/pts/ptmx. Obviously I tried that > - but to no avail. > > Here are the respective directories on host and guest (still unlinked > on the host although I have tried that already and I didn't work): > > r...@sokka:~# ls -la /dev/pts > drwxr-xr-x 2 root root 0 2009-04-09 02:33 . > drwxr-xr-x 19 root root 3680 2010-10-16 08:34 .. > crw--w---- 1 adtadmin tty 136, 0 2010-10-17 08:09 0 > crw------- 1 adtadmin tty 136, 1 2010-10-17 08:09 1 > c--------- 1 root root 5, 2 2010-10-16 08:34 ptmx > r...@sokka:~# ls -la /dev/ptmx > crw-rw-rw- 1 root tty 5, 2 2010-10-17 08:10 /dev/ptmx > > r...@sokka:/var/lib/lxc/testlxc/rootfs# ls -la dev/pts/ > drwxr-xr-x 2 root root 4096 2010-10-16 08:16 . > drwxr-xr-x 4 root root 4096 2010-10-16 08:16 .. > crw-rw-rw- 1 root root 5, 2 2010-10-16 08:03 ptmx > r...@sokka:/var/lib/lxc/testlxc/rootfs# ls -la dev/ptmx > lrwxrwxrwx 1 root root 8 2010-10-16 08:16 dev/ptmx -> pts/ptmx > > Could somebody please post his or her solution? How should the link > (permissions, etc.) look like? Should it be on host or guest or both? > > Any hint is appreciated. >
What is the lxc configuration file ? and the lxc version ? Can you give a try with lxc-checkconfig and look if the "Multiple /dev/pts instances" is enabled ? Thanks -- Daniel ------------------------------------------------------------------------------ Download new Adobe(R) Flash(R) Builder(TM) 4 The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly Flex(R) Builder(TM)) enable the development of rich applications that run across multiple browsers and platforms. Download your free trials today! http://p.sf.net/sfu/adobe-dev2dev _______________________________________________ Lxc-users mailing list Lxc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lxc-users