Bug 39128 (openssh_hang)
Summary: | openssh hanging bug on exit with background processes; hang-on-exit | ||
---|---|---|---|
Product: | [Retired] Red Hat Linux | Reporter: | John Bowman <bowman> |
Component: | openssh | Assignee: | Tomas Mraz <tmraz> |
Status: | CLOSED UPSTREAM | QA Contact: | |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 7.1 | CC: | eric, hjl, ivo, j.k.vanamerongen, shishz |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | http://www.math.ualberta.ca/imaging/snfs | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2005-02-03 11:08:53 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Attachments: |
Description
John Bowman
2001-05-04 16:40:08 UTC
Created attachment 17366 [details]
openssh hanging bug on exit with background processes
This patch only fixes the hang-on-exit bug under Protocol 2. Created attachment 19030 [details]
Latest hang-on-exit patch with X-hang + exit-delay-option patches; see www.math.ualberta.ca/imaging/snfs
Has this made it into an unpushed set of rawhide rpms yet? If not I'm going to see if the patch applies cleanly and try and rebuild 2.9p2 with it. I noticed some discussion on the openssh-unix-dev mailing list regarding this patch. Has there been any more latent issues with it? Created attachment 31678 [details]
Minor change to hang-on-exit patch to work with -T option
As I understand the problem, it's just a question of making sure the process isn't holding the terminal open (stdout, stderr, _or stdin_). E.g.: sleep 60 > /dev/null 2>&1 &; exit hangs, but sleep 60 < /dev/null > /dev/null 2>&1 &; exit does not. I guess some programs/commands are smart enough to close stdin right away if they're not using it and wouldn't need the second redirection. Please try to discuss the patch upstream (http://bugzilla.mindrot.org/show_bug.cgi?id=52). *** Bug 77242 has been marked as a duplicate of this bug. *** |