Re: [Vserver] openpty(): No such file

From: Oliver Heinz <oliver.heinz_at_schunk.net>
Date: Mon 20 Nov 2006 - 23:28:48 GMT
Message-Id: <200611210028.48697.oliver.heinz@schunk.net>

Am Montag, 20. November 2006 23:07 schrieb Herbert Poetzl:
[...]
>
> sorry, missed that one on the reread

that's why I do some cleanup to the mail - i starts getting a little messy
>
> > dakar:~ # ls -la /dev/ptmx
> > crw-rw-rw- 1 root tty 5, 2 Sep 23 2003 /dev/ptmx
> >
> > dakar:~ # mount
> > /dev/hda2 on / type reiserfs (rw)
> > proc on /proc type proc (rw)
> > devpts on /dev/pts type devpts (rw,mode=0620,gid=5)
>
> looks fine, let's also check /proc/mounts to make
> sure that mount (and mtab) is not lying

liar:

dakar:~ # cat /proc/mounts
rootfs / rootfs rw 0 0
/dev/root / ext3 rw 0 0
none /proc proc rw,nodiratime 0 0
/dev/root /home ext3 rw 0 0
/dev/root /backup/gobi ext3 rw 0 0
/dev/sda3 /backup/gobi/srv ext3 rw 0 0
/dev/sda3 /srv/www/htdocs/vhosts ext3 rw 0 0
/dev/sda3 /srv/www/htdocs/php-inc ext3 rw 0 0
...

which is the real mounts on the root server

the other vservers look like that:
service:/# cat /proc/mounts
rootfs / rootfs rw 0 0
/dev/root / ext3 rw 0 0
none /proc proc rw,nodiratime 0 0
none /tmp tmpfs rw,nodev 0 0
none /dev/pts devpts rw 0 0
/dev/root /home ext3 rw 0 0

>
> > you already commented on the legacy ttys.
> >
> > Do you need other/more Information?
>
> if possible, and strace -fF of the 'failing' access
> would be nice, note that you cannot strace across
> a context switch

I missed the vserver bin itself, was only looking in the lib dir. The rest of
the story is in my reply to daniels posting.

Thanks for your great 24/7 help,
Oliver

[..]

_______________________________________________
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver
Received on Tue Nov 21 00:01:22 2006

[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Tue 21 Nov 2006 - 00:01:28 GMT by hypermail 2.1.8