Bug 1088233

Summary: Koji's child processes ignore SIG_HUP
Product: [Fedora] Fedora Reporter: Matej Stuchlik <mstuchli>
Component: kojiAssignee: Mike McLean <mikem>
Status: CLOSED UPSTREAM QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 22CC: cstratak, dennis, jberan, mikem, orion
Target Milestone: ---Keywords: Reopened
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-11-01 20:20:42 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1087615    

Description Matej Stuchlik 2014-04-16 09:40:49 UTC
When building Python 3.4 in Koji one test hangs and two other fail because the python process is set to ignore SIG_HUP. [0] There's also a ticket open about the same issue in other package on fedorahosted koji page. [1]

I believe this is because @koji/__init__.py:467 Koji sets the sigaction for SIGHUP to SIG_IGN, but then fails to reset it back to SIG_DFL for it's child processes, which inherit this setting [2].

[0] https://bugzilla.redhat.com/show_bug.cgi?id=1087615
[1] https://fedorahosted.org/koji/ticket/270
[2] http://man7.org/linux/man-pages/man2/sigaction.2.html#NOTES

Comment 1 Jaroslav Reznik 2015-03-03 15:42:27 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 22 development cycle.
Changing version to '22'.

More information and reason for this action is here:
https://fedoraproject.org/wiki/Fedora_Program_Management/HouseKeeping/Fedora22

Comment 3 Fedora Admin XMLRPC Client 2016-03-10 14:44:59 UTC
This package has changed ownership in the Fedora Package Database.  Reassigning to the new owner of this component.

Comment 4 Fedora End Of Life 2016-07-19 11:23:05 UTC
Fedora 22 changed to end-of-life (EOL) status on 2016-07-19. Fedora 22 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.

Comment 6 Mike McLean 2017-11-01 20:20:42 UTC
Filed upstream: https://pagure.io/koji/issue/672