Gentoo Archives: gentoo-user

From: Mike Edenfield <kutulu@××××××.org>
To: gentoo-user@l.g.o
Subject: RE: [gentoo-user] openpty() failing with UNIX98 ptys
Date: Wed, 30 Jan 2013 16:43:45
Message-Id: 005401cdff08$f024b090$d06e11b0$@kutulu.org
In Reply to: Re: [gentoo-user] openpty() failing with UNIX98 ptys by Peter Humphrey
1 > -----Original Message-----
2 > From: Peter Humphrey [mailto:peter@××××××××××××××.org]
3 > Sent: Sunday, January 27, 2013 9:51 PM
4 > To: gentoo-user@l.g.o
5 > Subject: Re: [gentoo-user] openpty() failing with UNIX98 ptys
6 >
7 > On Sunday 27 January 2013 04:46:22 Mike Edenfield wrote:
8 > > At some point recently, one of my systems has begun having problems
9 > > allocating pseudo-terminals via the UNIX98 pty scheme. I am using the
10 > > same kernel configuration I've had for years, and running the latest
11 > > ~amd64 version of all the relevant packages. The problem manifests
12 > > itself on any program that attempts to allocate a pseudo-terminal,
13 > > including portage and openssh. I first noticed the problem when I could
14 > > no longer ssh into the server because it would not allocate a pty.
15 > >
16 > > I have the latest udev installed, and udev-mount is running on boot.
17 Both
18 > > /dev and /dev/pts are mounted, and /dev/ptmx exists and is
19 > > world-readable:
20 >
21 > What does 'grep devtmpfs /etc/fstab' reveal? (Long shot - I misread the
22 > latest news article and changed one of the tmpfs fields to devtmpfs and
23 got
24 > similar results to what you describe.)
25
26 I don't have any devtmpfs in my /etc/fstab; I think I removed a lot of
27 pseudo-mount points a while back when I added udev-mount to my runlevel.
28
29 --Mike