Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 19845 - no pty fs when unsing devfs
Summary: no pty fs when unsing devfs
Status: RESOLVED WONTFIX
Alias: None
Product: [OLD] Docs-user
Classification: Unclassified
Component: Gentoo Linux x86 Installation Guide (show other bugs)
Hardware: All All
: High enhancement (vote)
Assignee: Sven Vermeulen (RETIRED)
URL: http://www.gentoo.org/doc/en/gentoo-x...
Whiteboard:
Keywords:
: 19839 19840 19841 (view as bug list)
Depends on:
Blocks:
 
Reported: 2003-04-23 12:15 UTC by Peter Gantner (a.k.a. nephros)
Modified: 2003-05-08 12:34 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Gantner (a.k.a. nephros) 2003-04-23 12:15:24 UTC
from the installation guide, section: 15.Installing the kernel and a System Logger:

  [*] /dev file system support (EXPERIMENTAL)
  [*]   Automatically mount at boot          
(Required for Gentoo Linux.)
  [ ] /dev/pts file system for Unix98 PTYs
(Uncheck this, it is NOT needed.)

this is not true for kernels 2.5.68 (and probably above), as ptyfs stuff has been removed from devfs, and 
has to be compiled in and mounted just as usual (i.e. without devfs).
the correct /etc/fstab entry is thusly:

devpts
Comment 1 Peter Gantner (a.k.a. nephros) 2003-04-23 12:15:24 UTC
from the installation guide, section: 15.Installing the kernel and a System Logger:

  [*] /dev file system support (EXPERIMENTAL)
  [*]   Automatically mount at boot          
(Required for Gentoo Linux.)
  [ ] /dev/pts file system for Unix98 PTYs
(Uncheck this, it is NOT needed.)

this is not true for kernels 2.5.68 (and probably above), as ptyfs stuff has been removed from devfs, and 
has to be compiled in and mounted just as usual (i.e. without devfs).
the correct /etc/fstab entry is thusly:

devpts            /dev/pts      devpts   defaults      0 0


Reproducible: Always
Steps to Reproduce:
1. emerge development-sources or mm-sources  >= 2.5.68
2. do not configure ptfs
3. try to start screen or xterm (or equivalent)
4. see the "not enough ptys" message

Actual Results:  
apps which want a pty won't start, this includes telnet (server-side), xterm and other terminals, screen 
and probaly others.

Expected Results:  
n/a

this may apply to other installation guides too, i have not checked.
Comment 2 Sven Vermeulen (RETIRED) gentoo-dev 2003-04-23 12:35:17 UTC
*** Bug 19839 has been marked as a duplicate of this bug. ***
Comment 3 Sven Vermeulen (RETIRED) gentoo-dev 2003-04-23 12:35:45 UTC
*** Bug 19840 has been marked as a duplicate of this bug. ***
Comment 4 Sven Vermeulen (RETIRED) gentoo-dev 2003-04-23 12:36:05 UTC
*** Bug 19841 has been marked as a duplicate of this bug. ***
Comment 5 Peter Gantner (a.k.a. nephros) 2003-04-23 12:58:14 UTC
sorry for the dupes. i got several "server closed connection" errors.
Comment 6 Sven Vermeulen (RETIRED) gentoo-dev 2003-05-08 12:34:03 UTC
2.5 kernelsources are *development* kernelsources. Strange behaviour or "other" behaviour compared to 2.4 is to be expected. 

If you use 2.5 kernelsources, you should know what you are doing.