lkml.org 
[lkml]   [2004]   [Nov]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: waitid breaks telnet
Joe Korty <kortyads@mindspring.com> wrote:
>
> [ 2nd send, this one from my home email account...]
>
> telnet no longer works:
>
> # chkconfig telnet on
> # telnet localhost
> Trying 127.0.0.1...
> Connected to localhost (127.0.0.1).
> Escape character is '^]'.
> Red Hat Enterprise Linux WS release 3 (Taroon Update 2)
> Kernel 2.6.10-rc2 on an i686
> Connection closed by foreign host.
>
> A bsearch placed the bug between 2.6.9-rc1-bk[78], another
> bsearch on the changesets showed the problem is caused
> by this patch:
>
> roland@redhat.com[torvalds]|ChangeSet|20040831173525|30767
> [PATCH] waitid system call
>
> My guess is, something about the new wait4(2) wrapper
> is causing the telnet daemon to declare success before
> its child, /bin/login, exits.

I can reproduce this on 2.6.10-rc2, but it seems to have been fixed in more
recent kernels. However I cannot think of anything which we did which
would have fixed this.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 14:08    [W:0.044 / U:0.532 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site