so-called-hang-on-exit
Frank Cusack
fcusack at fcusack.com
Thu Aug 8 13:47:54 EST 2002
On Wed, Aug 07, 2002 at 04:54:49PM -0700, Frank Cusack wrote:
> Or it may just be a shell difference. (bash doesn't send hup, csh does)
> Jim, can you do this with bash on OpenBSD and see if it goes "forever"?
Would also be interesting to see ssh -t 0 "nohup yes & exit" with the same
shell you used earlier.
If that produces a stream of 'y's, then it's that either the shell or
the tty driver is sending HUP to all processes in the session group on
OpenBSD but not on Linux. If sshd terminates, then it's that the kernel
is closing the pty.
/fc
More information about the openssh-unix-dev
mailing list