| Summary: | command "cat < <(cat)" doesn't end with EOF, CTRL+C terminates the whole shell | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 7 | Reporter: | Pavel Raiskup <praiskup> | ||||
| Component: | bash | Assignee: | Siteshwar Vashisht <svashisht> | ||||
| Status: | CLOSED ERRATA | QA Contact: | Martin Kyral <mkyral> | ||||
| Severity: | medium | Docs Contact: | |||||
| Priority: | medium | ||||||
| Version: | 7.2 | CC: | isenfeld, jkejda, mkyral | ||||
| Target Milestone: | rc | ||||||
| Target Release: | --- | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | bash-4.2.46-26.el7 | Doc Type: | If docs needed, set a value | ||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2017-08-01 20:32:05 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: | |||||
| Attachments: |
|
||||||
|
Comment 2
Siteshwar Vashisht
2017-01-20 14:15:51 UTC
Sorry for the wrong reproducer, because it is not obvious what I tried to say. So just FTR: Please don't use the '$ bash -c CMD' command, but rather real interactive session by '$ bash'. Then hit the 'CMD' into the started interactive shell, and try to 'ctrl^C' it. You'll see the shell is also interrupted. Created attachment 1243822 [details]
bash44-shellpgrp.patch
Don't unconditionally set pipeline_pgrp to shell_pgrp
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/RHSA-2017:1931 |