Bug 77242
Summary: | nohup doesn't work under openssh | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | [Retired] Red Hat Linux | Reporter: | hjl | ||||||
Component: | openssh | Assignee: | Tomas Mraz <tmraz> | ||||||
Status: | CLOSED DUPLICATE | QA Contact: | Brian Brock <bbrock> | ||||||
Severity: | medium | Docs Contact: | |||||||
Priority: | medium | ||||||||
Version: | 8.0 | CC: | franz.sirl-kernel | ||||||
Target Milestone: | --- | ||||||||
Target Release: | --- | ||||||||
Hardware: | i386 | ||||||||
OS: | Linux | ||||||||
Whiteboard: | |||||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||||
Doc Text: | Story Points: | --- | |||||||
Clone Of: | Environment: | ||||||||
Last Closed: | 2005-02-04 10:57:09 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
hjl
2002-11-04 03:38:17 UTC
Created attachment 83424 [details]
A patch
I uploaded a patch, which seems to work for me. Any comments? I tried the patch with openssh-3.5p1-2 and it doesn't change anything for me, the logout is still delayed by 70 seconds if I use your example. BTW, I think this is a very long-standing bug in openssh, it was introduced already around 2.3/2.4 IIRC. Created attachment 89907 [details] Hang-on-exit fix This is a port of the patch posted here: http://marc.theaimsgroup.com/?l=openssh-unix-dev&m=102863079720412&w=2 to openssh-3.5p1-4. Besides that I also changed the default, so to get the hanging behaviour (no potential data loss) back, put "CloseOnSIGCHILD no" into your sshd_config. Seems to work fine so far on a 7.3 i686 and a rawhide PPC machine. |