hang on exit bug under Linux
Nicolas Williams
Nicolas.Williams at ubsw.com
Sat Jan 5 01:32:29 EST 2002
On Fri, Jan 04, 2002 at 09:15:26AM +0100, Peter Stuge wrote:
> On Thu, Jan 03, 2002 at 05:28:19PM +0100, Markus Friedl wrote:
> > for rlogin-like behaviour (i.e. a pty is allocated) it might
> > be an option to discard data, like telnetd/rlogind do.
>
> I could fix up my patch to only apply when ssh is invoked as slogin and
> change the configuration directive name to reflect this..
>
> Should I bother?
Yes.
> Also, since the background mode isn't working the way I want it to and I
> don't know enough to fix it, I'd very much appreciate pointers..
> Nicolas mentioned some Stevens books? What are they? Available online?
Search for books with "W. Richard Stevens" as the author, and titles
that start with "UNIX Network Programming ..." and "TCP/IP Illustrated
...".
> (The deal is that I want to make a certain PID a child of a different PID
> than it is right now.)
You can't do that.
You can put ssh into the background by forking off a child and exiting,
but then the shell cannot bring that child back to the foreground.
Which makes the background option not so useful. Perhaps you can just
have ssh send itself a SIGTSTP, but then you have to rely on the user to
ask the shell to actually background the process.
> //Peter
>
Cheers,
Nico
--
-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