[PATCH]: Patch to fix hang on exit bug under Linux and add optional exit delay

Ed Phillips ed at UDel.Edu
Fri Nov 16 03:07:45 EST 2001


On Thu, 15 Nov 2001, Peter W wrote:

> Date: Thu, 15 Nov 2001 08:55:07 -0500
> From: Peter W <peterw at usa.net>
> To: Gert Doering <gert at greenie.muc.de>
> Cc: Markus Friedl <markus at openbsd.org>,
>      Andreas Hasenack <andreas at conectiva.com.br>, pcpa at conectiva.com.br,
>      openssh-unix-dev at mindrot.org, openssh at openbsd.org
> Subject: Re: [PATCH]: Patch to fix hang on exit bug under Linux and add
>     optional exit delay
>
> On Thu, Nov 15, 2001 at 11:32:22AM +0100, Gert Doering wrote:
>
> > On Thu, Nov 15, 2001 at 11:14:24AM +0100, Markus Friedl wrote:
>
> > > allow data loss in the server if a pty is allocated. i think
> > > this would match the telnetd and rlogind behaviour best.
> >
> > I would accept this, and prefer it to "I have run something in the
> > background that I know will not create output but fails to close
> > stdin/stdout/stderr and now I can't log out cleanly".
>
> And the problem with simply killing the ssh client application is?
>
> I think there's a significant amount of disagrement on this issue,
> to say the least. With the core argument distilling to a question of
> Integrity vs Convenience, I've got a hard time siding with Convenience.
> SSH is not telnet, and I wouldn't like to see it twisted in a way
> that is (clearly!) arguablya step backwards for Convenience sake.

I agree.  But then again, I'd like for ssh/sshd to NOT hang around if I've
pressed CTRL-D to logout... and (of course) there are no other children
process of sshd left to process.  As far as I can tell, this situation is
still causing hangs for me on occasion.

	Ed

Ed Phillips <ed at udel.edu> University of Delaware (302) 831-6082
Systems Programmer III, Network and Systems Services
finger -l ed at polycut.nss.udel.edu for PGP public key




More information about the openssh-unix-dev mailing list