Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 504904 - trap -p not displaying ignored signal when run from child bash
trap -p not displaying ignored signal when run from child bash
Status: CLOSED ERRATA
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: bash (Show other bugs)
5.4
All Linux
low Severity medium
: rc
: ---
Assigned To: Roman Rakus
BaseOS QE
: Reopened
Depends On:
Blocks: 768949 846356
  Show dependency treegraph
 
Reported: 2009-06-09 21:53 EDT by Mark Goodwin
Modified: 2018-10-27 09:52 EDT (History)
6 users (show)

See Also:
Fixed In Version: bash-3.2-25.el5
Doc Type: Bug Fix
Doc Text:
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".
Story Points: ---
Clone Of:
: 768949 846356 (view as bug list)
Environment:
Last Closed: 2011-07-21 06:38:33 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
fix trap list for ignored signals (1.82 KB, patch)
2009-06-09 21:53 EDT, Mark Goodwin
no flags Details | Diff


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2011:1073 normal SHIPPED_LIVE Low: bash security, bug fix, and enhancement update 2011-07-21 06:37:04 EDT

  None (edit)
Description Mark Goodwin 2009-06-09 21:53:32 EDT
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
Comment 2 RHEL Product and Program Management 2009-11-06 13:58:51 EST
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 "?".
Comment 3 Siddhesh Poyarekar 2010-03-23 12:28:13 EDT
It's not a bug, it's a feature:

http://lists.gnu.org/archive/html/bug-bash/2010-03/msg00084.html
Comment 4 Roman Rakus 2010-03-23 14:00:22 EDT
Yep. Thank you.
Comment 8 RHEL Product and Program Management 2010-08-09 14:15:40 EDT
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.
Comment 10 RHEL Product and Program Management 2011-01-11 15:08:38 EST
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.
Comment 11 RHEL Product and Program Management 2011-01-11 17:19:10 EST
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.
Comment 12 Roman Rakus 2011-02-10 10:00:38 EST
Fixed in bash-3.2-25.el5
Comment 14 Branislav Náter 2011-04-14 02:16:07 EDT
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.
Comment 15 Misha H. Ali 2011-04-20 05:12:13 EDT
    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".
Comment 16 Misha H. Ali 2011-04-20 20:27:28 EDT
    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".
Comment 17 errata-xmlrpc 2011-07-21 06:38:33 EDT
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

Note You need to log in before you can comment on or make changes to this bug.