[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#245967: debian-installer: dev/pts/* not created



Colin Watson <cjwatson@debian.org> writes:

> I'd advise looking at the end of an strace to see what tty-related
> devices xterm is actually trying to open.

Sure:

it cycles through these:

open("/dev/tty", O_RDWR)                = -1 EACCES (Permission denied)
alarm(0)                                = 2
rt_sigaction(SIGALRM, {SIG_DFL}, {0x8071900, [ALRM], SA_RESTART}, 8) = 0
open("/dev/ptmx", O_RDWR)               = -1 EACCES (Permission denied)
open("/dev/ptyp0", O_RDWR)              = -1 EACCES (Permission denied)
open("/dev/ptyp1", O_RDWR)              = -1 EACCES (Permission denied)
open("/dev/ptyp2", O_RDWR)              = -1 EACCES (Permission denied)

...

and then poof:

write(2, "xterm: Error 32, errno 2: ", 26) = 26
write(2, "No such file or directory\n", 26) = 26
write(2, "Reason: get_pty: not enough ptys\n", 33) = 33

So maybe it's a makedev bug?  Not sure, but *something* didn't do its
job right.

Thanks,
-- 
David N. Welton
   Consulting: http://www.dedasys.com/
     Personal: http://www.dedasys.com/davidw/
Free Software: http://www.dedasys.com/freesoftware/
   Apache Tcl: http://tcl.apache.org/



Reply to: