Bug 572305
| Summary: | [PATCH] trap -p does not display ignored signals inherited from parent by a bash process | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Siddhesh Poyarekar <spoyarek> | ||||
| Component: | bash | Assignee: | Roman Rakus <rrakus> | ||||
| Status: | CLOSED NOTABUG | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
| Severity: | medium | Docs Contact: | |||||
| Priority: | low | ||||||
| Version: | rawhide | CC: | mnewsome, rrakus, tsmetana | ||||
| Target Milestone: | --- | Keywords: | Patch | ||||
| Target Release: | --- | ||||||
| Hardware: | All | ||||||
| OS: | Linux | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2010-03-23 16:30:04 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: |
|
||||||
It's not a bug, it's a feature: http://lists.gnu.org/archive/html/bug-bash/2010-03/msg00084.html So this is how it feels to close my own bug report as NOTABUG ;) |
Created attachment 399166 [details] Show inherited signals in trap -p output Description of problem: trap -p doesn't show ignored signals inherited from its parent across an execve Version-Release number of selected component (if applicable): bash-4.1.2-3.fc14 How reproducible: Always Steps to Reproduce: 1. trap '' SIGINT 2. exec bash 3. trap -p Actual results: Nothing is returned as output of trap -p. But at the same time, running cat and trying to interrupt it shows that the signal is in fact being ignored Expected results: The list of ignored signals should be returned Additional info: Attached patch ensures that inherited ignored signals are reflected in trap_list and then subsequently displayed when trap -p is invoked.