Bug 1466737

Summary: bash non-interruptible "read"
Product: [Fedora] Fedora Reporter: Harald Hoyer <harald>
Component: bashAssignee: Siteshwar Vashisht <svashisht>
Status: CLOSED UPSTREAM QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: admiller, kdudka, svashisht
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-08-11 10:46:24 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:
Embargoed:

Description Harald Hoyer 2017-06-30 11:03:09 UTC
# rpm -q bash
bash-4.4.12-5.fc27.x86_64

# read -N 1 _ < /dev/zero

can only be stopped with SIGKILL(9)

Comment 1 Kamil Dudka 2017-06-30 12:38:46 UTC
This seems to happen only in the interactive mode.  Batch mode is interruptible:

% bash -c 'read -N 1 _ < /dev/zero' &
[1] 784

% kill %1
[1]  + terminated  bash -c 'read -N 1 _ < /dev/zero'