Re: [vserver] problem with devpts

From: Herbert Poetzl <herbert_at_13thfloor.at>
Date: Mon 17 May 2010 - 15:08:50 BST
Message-ID: <20100517140850.GA12781@MAIL.13thfloor.at>

On Fri, May 07, 2010 at 03:17:04PM +0300, Deniss wrote:
> yeh, looks like the problem is in vprocunhide - when problem arise in
> already open session to guest `ps` stop working

> www ~ # ps -efH
> Error, do this: mount -t proc proc /proc

> when i enter to guset using 'vserver enter' the problem disappears -
> proc is mounted and ssh working

util-vserver version?

> Deniss wrote:
>> 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:

does it happen on a more recent kernel/patch too?

TIA,
Herbert

>> 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.
Received on Mon May 17 15:09:12 2010

[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Mon 17 May 2010 - 15:09:15 BST by hypermail 2.1.8