Bug 1336800

Summary: Race condition while expanding tilda may cause bash to skip updating ~/.bash_history
Product: [Fedora] Fedora Reporter: Siteshwar Vashisht <svashisht>
Component: bashAssignee: Siteshwar Vashisht <svashisht>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: unspecified    
Version: 24CC: admiller, svashisht
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: bash-4.3.42-5.fc24 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-05-23 20:05:13 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 Siteshwar Vashisht 2016-05-17 13:15:47 UTC
Description of problem:
If SIGHUP is received while expanding tilda, bash may skip updating ~/.bash_history due to a race condition.

Version-Release number of selected component (if applicable):
bash-4.3.42-4

How reproducible:
Very rarely

Actual results:
bash does not update ~/.bash_history

Expected results:
bash should update ~/.bash_history

Additional info:

Upstream bug report: http://lists.gnu.org/archive/html/bug-bash/2016-04/msg00106.html

Patch: http://lists.gnu.org/archive/html/bug-bash/2016-04/msg00136.html

Comment 2 Fedora Update System 2016-05-17 16:50:13 UTC
bash-4.3.42-5.fc24 has been submitted as an update to Fedora 24. https://bodhi.fedoraproject.org/updates/FEDORA-2016-7d4344c4a2

Comment 3 Fedora Update System 2016-05-21 01:35:50 UTC
bash-4.3.42-5.fc24 has been pushed to the Fedora 24 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-7d4344c4a2

Comment 4 Fedora Update System 2016-05-23 20:05:10 UTC
bash-4.3.42-5.fc24 has been pushed to the Fedora 24 stable repository. If problems still persist, please make note of it in this bug report.