linux ssh never shuts down fix release?
Markus Friedl
markus at openbsd.org
Thu Aug 30 21:47:11 EST 2001
On Thu, Aug 30, 2001 at 09:43:53PM +1000, carl at bl.echidna.id.au wrote:
>
> > From: Markus Friedl <markus at openbsd.org>
> > > >
> > > > On Thu, Aug 30, 2001 at 04:03:57PM +1000, carl at bl.echidna.id.au wrote:
> > > > > A while ago I saw some stuff about fixes for the problem with
> > > > > ssh2 and linux (which the FAQ on www.openssh.com is still
> > > > > mentioning but not offering any real solutions for). Is there
> > > > > any news on when/if these fixes will find their way into a
> > > > > release? OpenSSH 2.9p3 perhaps? :)
> > > >
> > > > what exactly are you referring to?
> > > >
> > > > does ssh hang if you do this:
> > > >
> > > > $ sleep 10 < /dev/null &
> > >
> > > Probably, but it doesn't like it when I ssh in and start a
> > > daemon, and then try to log out. It doesn't drop the
> > > session. It's a known bug, there's fixes for it in the
> > > current snapshots, I believe.
> >
> > a fix for _what_ bug?
>
> I can't remember the bloke's name who wrote some patches, but AFAIK,
> it's basically the same bug as the one triggered by the sleep 10 & stunt.
>
> If I OpenSSH v2 to our RH loonucks boxes, and start a daemon
> process (in this case, SNPd, but that's not relevant), I can
> then not disconnect. ssh just hangs after I
> attempt to log out. As above, it's a known problem, I believe it's
> fixed in -current, but I haven't had time to play with it yet to
> see if it is or not.
i don't think it's a bug, and it's not fixed in current.
you cannot start the daemon with stdin/out/err redirected?
$ daemon > /dev/null 2>&1
?
> > can you show some debug output for the bug?
>
> Not right now, but I can tomorrow. It doesn't really matter, the
> gist of my question is "are you planning a patch release anytime
> soon?". If you're not, I'll go to the trouble to try and test
> the current snapshot, if you are, I'll wait and try it then, as
> that'll be easier for me :)
>
More information about the openssh-unix-dev
mailing list