Bug 1466737 - bash non-interruptible "read"
Summary: bash non-interruptible "read"
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Fedora
Classification: Fedora
Component: bash
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Siteshwar Vashisht
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-06-30 11:03 UTC by Harald Hoyer
Modified: 2017-08-11 10:46 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2017-08-11 10:46:24 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

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'


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