Created attachment 347126 [details] fix trap list for ignored signals Description of problem: trap -p doesn't show ignored signals inherited across exec Version-Release number of selected component (if applicable): bash-3.2-24.el5 How reproducible: always Steps to Reproduce: 1) trap '' SIGINT 2) exec bash 3) trap -p Actual results: nothing displayed Expected results: list of ignored signals Additional info: patch from spoyarek attached
This request was evaluated by Red Hat Product Management for inclusion, but this component is not scheduled to be updated in the current Red Hat Enterprise Linux release. If you would like this request to be reviewed for the next minor release, ask your support representative to set the next rhel-x.y flag to "?".
It's not a bug, it's a feature: http://lists.gnu.org/archive/html/bug-bash/2010-03/msg00084.html
Yep. Thank you.
This request was evaluated by Red Hat Product Management for inclusion in the current release of Red Hat Enterprise Linux. Because the affected component is not scheduled to be updated in the current release, Red Hat is unfortunately unable to address this request at this time. Red Hat invites you to ask your support representative to propose this request, if appropriate and relevant, in the next release of Red Hat Enterprise Linux.
This request was erroneously denied for the current release of Red Hat Enterprise Linux. The error has been fixed and this request has been re-proposed for the current release.
Fixed in bash-3.2-25.el5
Bugfix was successfully verified on package bash-3.2-29.el5 on all architectures (i386, x86_64, ia64, ppc, s390x). Manual page was updated and contain desired information.
Technical note added. If any revisions are required, please edit the "Technical Notes" field accordingly. All revisions will be proofread by the Engineering Content Services team. New Contents: The manual page for trap in Bash did not mention that signals ignored upon entry cannot be listed. This is now fixed to "Signals ignored upon entry to the shell cannot be trapped, reset or listed".
Technical note updated. If any revisions are required, please edit the "Technical Notes" field accordingly. All revisions will be proofread by the Engineering Content Services team. Diffed Contents: @@ -1 +1 @@ -The manual page for trap in Bash did not mention that signals ignored upon entry cannot be listed. This is now fixed to "Signals ignored upon entry to the shell cannot be trapped, reset or listed".+The manual page for trap in Bash did not mention that signals ignored upon entry cannot be listed later. This is now fixed and the manual page entry text is amended to "Signals ignored upon entry to the shell cannot be trapped, reset or listed".
An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on therefore solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHSA-2011-1073.html