Bug 1545265

Summary: ksh function (not posix) trap not receiving signals -HUP, -TERM but does receive -INT [rhel-7.4.z]
Product: Red Hat Enterprise Linux 7 Reporter: Oneata Mircea Teodor <toneata>
Component: kshAssignee: Siteshwar Vashisht <svashisht>
Status: CLOSED ERRATA QA Contact: Jan Kepler <jkejda>
Severity: medium Docs Contact:
Priority: urgent    
Version: 7.4CC: bbreard, cww, fkrska, igkioka, jkejda, kdudka, mhernon, pandrade, qe-baseos-apps, svashisht, toneata
Target Milestone: rcKeywords: ZStream
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Due to a change in handling signals when exiting the scope of a ksh function, some trapped signals were ignored. As a consequence, the function which received a signal did not pass some signals to the caller function. With this update, the "_AST_KSH_SIGNAL_BUBBLE" environment variable, which can be set to enable the old behavior, has been added. As a result, the described problem can be now avoided.
Story Points: ---
Clone Of: 1484937 Environment:
Last Closed: 2018-03-06 21:50:57 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:
Bug Depends On: 1484937    
Bug Blocks:    

Description Oneata Mircea Teodor 2018-02-14 13:53:55 UTC
This bug has been copied from bug #1484937 and has been proposed to be backported to 7.4 z-stream (EUS).

Comment 6 errata-xmlrpc 2018-03-06 21:50:57 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2018:0417