lkml.org 
[lkml]   [1998]   [Aug]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRead this if you have PTY problems in 2.1.115
Date
I thought I already posted this, but I can't seem to find it, so here
it is again:

If you have PTY problems in 2.1.115, make sure you don't have one of
these misconfigurations in your system:

1. /dev/ptyp* and /dev/ttyp* devices on major number 4. This
configuration has been deprecated since Linux 1.3 (1995), and
support for it was finally removed. The proper major number for
/dev/pty* devices is 2 and for /dev/tty* devices is 3; see
linux/Documentation/devices.* for the details.

2. /dev/ptmx but no /dev/pts (this will bite you if you're running
glibc 2.0.9x).

If you have /dev/ptmx, glibc will attempt to use Unix98 PTYs.
Either remove this device node, or set up Unix98 devices properly:

- Configure your kernel with CONFIG_UNIX98_PTYS and
CONFIG_DEVPTS_FS.

- Add to your /etc/fstab file:

none /dev/pts devpts gid=5,mode=620 0 0

gid=5,mode=620 applies to RedHat systems (gid 5 is "tty"); other
distributions may use other gid's. mode=620 means "mesg y" is
the default; use mode=600 if you want "mesg n" to be the default.

- mknod /dev/ptmx c 5 2
chmod 666 /dev/ptmx
mkdir /dev/pts
mount /dev/pts

-hpa
--
PGP: 2047/2A960705 BA 03 D3 2C 14 A8 A8 BD 1E DF FE 69 EE 35 BD 74
See http://www.zytor.com/~hpa/ for web page and full PGP public key
I am Bahá'í -- ask me about it or see http://www.bahai.org/
"To love another person is to see the face of God." -- Les Misérables

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.altern.org/andrebalsa/doc/lkml-faq.html

\
 
 \ /
  Last update: 2005-03-22 13:43    [W:2.200 / U:0.276 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site