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

Nicolas Williams Nicolas.Williams at ubsw.com
Fri Nov 16 03:58:26 EST 2001


On Thu, Nov 15, 2001 at 05:36:29PM +0100, Gert Doering wrote:
> Hi,
> 
> On Thu, Nov 15, 2001 at 10:44:51AM -0500, Ed Phillips wrote:
> > > 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".
> > 
> > I have more of a problem with the case where "I have no processes running
> > in the background and no other child processes of sshd running at all and
> > sshd/ssh fail to exit".  
> 
> Which is exactly what I'm talking about.

This is some other bug. I've seen it too. It only happens when you used
the forwarded agent, forwarded X or, I suspect, any other forwarded port.
It happens even if the forwarded ports/agent are not in use.

That should be telling.

> gert
> -- 
> USENET is *not* the non-clickable part of WWW!
>                                                            //www.muc.de/~gert/
> Gert Doering - Munich, Germany                             gert at greenie.muc.de
> fax: +49-89-35655025                        gert.doering at physik.tu-muenchen.de


Nico
--
-DISCLAIMER: an automatically appended disclaimer may follow. By posting-
-to a public e-mail mailing list I hereby grant permission to distribute-
-and copy this message.-

Visit our website at http://www.ubswarburg.com

This message contains confidential information and is intended only 
for the individual named.  If you are not the named addressee you 
should not disseminate, distribute or copy this e-mail.  Please 
notify the sender immediately by e-mail if you have received this 
e-mail by mistake and delete this e-mail from your system.

E-mail transmission cannot be guaranteed to be secure or error-free 
as information could be intercepted, corrupted, lost, destroyed, 
arrive late or incomplete, or contain viruses.  The sender therefore 
does not accept liability for any errors or omissions in the contents 
of this message which arise as a result of e-mail transmission.  If 
verification is required please request a hard-copy version.  This 
message is provided for informational purposes and should not be 
construed as a solicitation or offer to buy or sell any securities or 
related financial instruments.




More information about the openssh-unix-dev mailing list