Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1377496 - command "cat < <(cat)" doesn't end with EOF, CTRL+C terminates the whole shell
command "cat < <(cat)" doesn't end with EOF, CTRL+C terminates the whole shell
Status: CLOSED ERRATA
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: bash (Show other bugs)
7.2
Unspecified Unspecified
medium Severity medium
: rc
: ---
Assigned To: Siteshwar Vashisht
Martin Kyral
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2016-09-19 17:55 EDT by Pavel Raiskup
Modified: 2017-08-01 16:32 EDT (History)
3 users (show)

See Also:
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 16:32:05 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
bash44-shellpgrp.patch (460 bytes, patch)
2017-01-24 00:02 EST, Siteshwar Vashisht
no flags Details | Diff


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2017:1931 normal SHIPPED_LIVE Moderate: bash security and bug fix update 2017-08-01 14:26:59 EDT

  None (edit)
Comment 2 Siteshwar Vashisht 2017-01-20 09:15:51 EST
This has been fixed in bash-4.4 and works as expected in rawhide.
Comment 3 Pavel Raiskup 2017-01-20 09:43:48 EST
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.
Comment 4 Siteshwar Vashisht 2017-01-24 00:02 EST
Created attachment 1243822 [details]
bash44-shellpgrp.patch

Don't unconditionally set pipeline_pgrp to shell_pgrp
Comment 9 errata-xmlrpc 2017-08-01 16:32:05 EDT
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

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