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

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



On Mon, Apr 26, 2004 at 16:45 +0200, David N. Welton wrote:
> 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.

What are the permissions on the devices? Is xterm setgid utmp? Have
you configured your mounted filesystems with any special options?

-- 
Pelle



Reply to: