hang on exit - bug or no bug?

Nicolas Williams Nicolas.Williams at ubsw.com
Thu Oct 4 23:24:04 EST 2001


This patch seems to do the same sort of thing being discussed in the
SIGCHLD race thread: add a timeout to the select(). If this is done only
when there's no child fildes left open, and only to break the SIGCHLD
race deadlock, then it can't lead to data loss (unless you're doing
something else wrong).

Nico


On Thu, Oct 04, 2001 at 06:20:39AM -0500, Phil Howard wrote:
> mouring at etoh.eviladmin.org wrote:
> 
> > On 4 Oct 2001, John Bowman wrote:
> > 
> > > > I haven't been able to find a sane way of avoiding the hang on exit
> > > > on Linux or Solaris. OpenBSD doesn't seem to have the problem - there
> > >
> > > On Linux, a patch to fix this openssh bug, without data loss, has been
> > > available for some time now:
> > >
> > > http://www.math.ualberta.ca/imaging/snfs/
> > >
> > 
> > Again we went over this.. It causes data lost on other systems.  We are
> > not Linux centric.  If we ever became that I would leave.
> 
> If the patch can be done in such a way that it won't compile in
> for systems where it won't work, e.g. conditional only to Linux,
> then would that be acceptable to roll it in to the p versions?
> 
> -- 
> -----------------------------------------------------------------
> | Phil Howard - KA9WGN |   Dallas   | http://linuxhomepage.com/ |
> | phil-nospam at ipal.net | Texas, USA | http://phil.ipal.org/     |
> -----------------------------------------------------------------
--
-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