hang on exit bug under Linux

Michael michael at bizsystems.com
Tue Dec 11 04:10:08 EST 2001


> On Fri, Dec 07, 2001 at 02:18:10PM -0800, Michael wrote:
> > Has this issue been resolved in 3.02 ??
> 
> no bugreport, no fix.  no bug, no fix.
> 

so try this, guaranteed to hang the exit of the session for 
openssh, but ssh-1.2.27 likes it fine.

file tst.pl
#!/usr/bin/perl

while (1) {
  sleep 1;
}

# end

at the keyboard, just type

> perl tst.pl &
> exit


Like I said, ssh-1.2.27 works fine
OpenSSH_2.9.9p2 is guaranteed to hang

This means that a daemon can never be stopped and restarted from the 
keyboard without a hang or screwing around with special exit 
procedures. Looks, sounds, smells like a bug to me.

Michael
Michael at Insulin-Pumpers.org



More information about the openssh-unix-dev mailing list