[Bug 52] ssh hangs on exit

bugzilla-daemon at mindrot.org bugzilla-daemon at mindrot.org
Tue Feb 6 17:42:19 EST 2007


------- Comment #44 from senthilkumar_sen at hotpop.com  2007-02-02 16:48 -------
I am under the impression that the latest patch is not fixing the
problem in HP-UX 11.11. I run the following to reproduce the problem.

# cat test1.ksh
while (( 1 ))
sleep 10

# cat test2.ksh
./test1.ksh &

------- Comment #45 from dtucker at zip.com.au  2007-02-05 17:10 -------
(In reply to comment #44)
> #!/usr/bin/ksh
> ./test1.ksh &

This leaves std{in,out,err} connected.  Try redirecting them to
/dev/null instead:

./test1/ksh </dev/null >/dev/null 2>&1

------- Comment #46 from senthilkumar_sen at hotpop.com  2007-02-06 17:42 -------
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.

------- 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