Subject: problem with devpts
From: Deniss <dg@sad.lv>
Date: Fri, 07 May 2010 11:47:29 +0300

hello !

i have a problem with devpts on 2.6.32.12-vs2.3.0.36.29.4:
sometimes sshd stop allowing to log in with errors:

May  7 11:01:28 www sshd[1520]: fatal: openpty returns device for which 
ttyname fails.
May  7 11:01:28 www sshd[1520]: error: chown  0 0 failed: No such file 
or directory
May  7 11:01:28 www sshd[1520]: error: chmod  0666 failed: No such file 
or directory

restarting sshd helps

i think the problem may be in context leak between host and guest cos 
they share /dev/pts as i understand

probably the solution may be to use "newinstance" feature of devpts but 
i cant manage to get it working.