[Bug 52] ssh hangs on exit

bugzilla-daemon at mindrot.org bugzilla-daemon at mindrot.org
Tue Feb 20 15:25:05 EST 2007


http://bugzilla.mindrot.org/show_bug.cgi?id=52





------- Comment #50 from senthilkumar_sen at hotpop.com  2007-02-20 15:25 -------
(In reply to comment #49)
> (In reply to comment #48)
> > (In reply to comment #47)
> > > (In reply to comment #46)
> > > > Yes, but that workaround doesn't need the patch. However, with
> > > > latest patch, there is no hang when I run test2.ksh and exit from
> > > > the shell on linux. But it is not the case with HP-UX. So Im
> > > > wondering what the patch is doing with respect to HP-UX.
> 
> > > This is at odds with comment #26.
> 
> > I checked the testcases described in <A
> > href="http://bugzilla.mindrot.org/show_bug.cgi?id=52#c35">comment
> > 35</a> and they worked as described there for both HP-UX and Linux.
> > But HP-UX behaves differently only when I login and launch my script
> > described in <A
> > href="http://bugzilla.mindrot.org/show_bug.cgi?id=52#c44">comment
> > 44</a>. So I think there is something special that goes in HP-UX at
> > login which is not happening when I just run with -t option. 
> 
> OK.  So, what happens if you do ...
> 
>   ./test2.ksh &
>   exit
> 
> ... when logged in?
> 

Sorry for the embedded tags in my last comment. To answer the question,

$ ./test2.ksh &
[1]     2659
$ exit
There are running jobs.
[1] +  Done                       ./test2.ksh &
$ exit
logout
<It hangs after this> 

This happens irrespective of the patch in HP-UX. I'm using korn shell.
Not sure is this something shell specific. I guess it can't be, because
if I do the same steps after login through telnet to a HP-UX box, the
connection get closed.




------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


More information about the openssh-bugs mailing list