Re: [vserver] vserver "exec" gives TTY in Lenny but not in Squeeze guest

From: Markus Fischer <markus_at_fischer.name>
Date: Sat 21 Jul 2012 - 07:11:39 BST
Message-ID: <500A481B.8030100@fischer.name>

On 2012-07-20 23:29, Michael S. Zick wrote:
> Could it be that you don't have /dev/pts mounted on the troublesome machine?

It's properly mounted on both machines, the mount command shows exactly
the same entries on working vs. non-working guests:

$ mount
/dev/hdv1 on / type ufs (defaults)
none on /proc type proc (defaults)
none on /tmp type tmpfs (size=10240m,mode=1777)
none on /dev/pts type devpts (gid=5,mode=620)

Here are a list of all devices on both systems:

lenny01:
lrwxrwxrwx 1 root root 15 fd -> ../proc/self/fd
crw-rw-rw- 1 root root 1, 7 full
srw-rw-rw- 1 root root 0 log
crw-rw-rw- 1 root root 1, 3 null
crw-rw-rw- 1 root root 5, 2 ptmx
drwxr-xr-x 2 root root 0 pts
crw-r--r-- 1 root root 1, 8 random
drwxrwxrwt 2 root root 4096 shm
crw-rw-rw- 1 root root 5, 0 tty
crw-r--r-- 1 root root 1, 9 urandom
prw-r----- 1 root adm 0 xconsole
crw-rw-rw- 1 root root 1, 5 zero

squeeze01:
lrwxrwxrwx 1 root root 11 core -> /proc/kcore
lrwxrwxrwx 1 root root 13 fd -> /proc/self/fd
crw-rw-rw- 1 root root 1, 7 full
prw------- 1 root root 0 initctl
srw-rw-rw- 1 root root 0 log
crw-rw-rw- 1 root root 1, 3 null
crw-rw-rw- 1 root root 5, 2 ptmx
drwxr-xr-x 2 root root 0 pts
lrwxrwxrwx 1 root root 4 ram -> ram1
crw-r--r-- 1 root root 1, 8 random
drwxrwxrwt 2 root root 4096 shm
lrwxrwxrwx 1 root root 4 stderr -> fd/2
lrwxrwxrwx 1 root root 4 stdin -> fd/0
lrwxrwxrwx 1 root root 4 stdout -> fd/1
crw-rw-rw- 1 root root 5, 0 tty
crw-r--r-- 1 root root 1, 9 urandom
prw-r----- 1 root adm 0 xconsole
crw-rw-rw- 1 root root 1, 5 zero

thanks,
- Markus
Received on Sat Jul 21 07:11:52 2012

[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Sat 21 Jul 2012 - 07:11:52 BST by hypermail 2.1.8