Nathanael Nerode wrote:
> I've found the source of bug 237056.  I think it's udev's responsibility,
> but you can discuss that amongst yourselves.
> 
> bootlogd calls a routine in glibc which tries to get a UNIX98 PTY.  If that
> fails, it looks for a BSD (legacy) PTY.  If that fails (perhaps because
> they're not compiled into the kernel, because nothing much uses them), it
> gives up and dies.


I wrote:
> I just checked the code and I see no where where bootlogd attempts to open a
> UNIX98 PTY.  So why do you claim that it does?


(bootlogd uses openpty(3).)

OK, contrary to what the man page says, openpty() _does_ attempt to open unix98
PTYs before it looks at the legacy PTY device nodes.  I just checked this using
a little test program and strace (libc6 2.3.5-11).  Sorry for the noise.
-- 
Thomas Hood



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to