mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Andrew Morton <akpm@osdl.org>
To: Joe Korty <kortyads@mindspring.com>
Cc: roland@redhat.com, linux-kernel@vger.kernel.org
Subject: Re: waitid breaks telnet
Date: Tue, 30 Nov 2004 20:27:30 -0800	[thread overview]
Message-ID: <20041130202730.6ceab259.akpm@osdl.org> (raw)
In-Reply-To: <5.1.0.14.2.20041130225221.009d1340@pop.mindspring.com>

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.


  reply	other threads:[~2004-12-01  4:28 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-12-01  3:55 Joe Korty
2004-12-01  4:27 ` Andrew Morton [this message]
2004-12-01 13:32   ` Joe Korty
2004-12-01 19:20   ` Roland McGrath
2004-12-01 19:41     ` Andrew Morton
2004-12-01 22:30       ` Joe Korty
2004-12-01 22:49         ` Joe Korty
2004-12-01 23:22           ` Joe Korty
2004-12-01 23:58             ` Roland McGrath
2004-12-02 17:54               ` Joe Korty
2004-12-02 22:39                 ` [PATCH] fix uninitialized variable in waitid(2) Joe Korty
2004-12-02 22:51                   ` Andrew Morton

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20041130202730.6ceab259.akpm@osdl.org \
    --to=akpm@osdl.org \
    --cc=kortyads@mindspring.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=roland@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome