lkml.org 
[lkml]   [2001]   [Jan]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectProblem with devfs and Unix98 pty
The automatic saving and reloading of permissions and ownerships
by devfsd is not compatible with Unix98 ptys (in /dev/pts).

Imagine a user A trying to get a pty, for example by starting an
xterm. If there's a saved inode /dev-state/pts/<whatever> owned by
user B, and the next free number in /dev/pts equals <whatever>,
devfsd will replace the automatically created inode with the saved,
which is owned by B. So A does not have any chance at all to get
another pty.

I propose to add the following lines to the default devfsd.conf,
just above the last three lines:

REGISTER ^pts/.* IGNORE
CHANGE ^pts/.* IGNORE
CREATE ^pts/.* IGNORE

This fixed the problem for me. If you know a better solution,
please let me know.

--
Christian Ullrich Registrierter Linux-User #125183

"Sie können nach R'ed'mond fliegen -- aber Sie werden sterben"
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 12:52    [W:0.018 / U:2.228 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site