Bug 169231 - no history with bash
no history with bash
Product: Fedora
Classification: Fedora
Component: bash (Show other bugs)
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Tim Waugh
Ben Levenson
Depends On:
Blocks: FC5Target 163235
  Show dependency treegraph
Reported: 2005-09-25 13:42 EDT by Lars G
Modified: 2007-12-11 09:08 EST (History)
0 users

See Also:
Fixed In Version: 3.0-41
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2005-12-06 13:10:21 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Lars G 2005-09-25 13:42:52 EDT
bash-3.0-34 doesn't create entries in .bash_history here.
Comment 1 Tim Waugh 2005-09-26 05:18:29 EDT
The .bash_history file is written when bash exits.  How are you exiting bash?

Note that the signal handler itself had previously been writing the bash_history
file, using all sorts of C library functions that must not be called during a
signal handler, and so that particular instance of writing bash_history files
has been disabled.
Comment 2 Lars G 2005-09-26 07:35:38 EDT
using the gnome terminal,
.bash_history is not updated after closing it via the "close window" widget or
"file/close window".

when typing "exit" it closes and writes the .bash_profile OK here.

Comment 3 Tim Waugh 2005-09-27 09:08:36 EDT
This is just a consequence of fixing the signal handler issue. :-/
Comment 4 Tim Waugh 2005-11-29 07:32:54 EST
Hmm, need to fix this *somehow*.
Comment 5 Tim Waugh 2005-12-06 13:10:21 EST
Let's see how bash-3.0-38 behaves.
Comment 6 Tim Waugh 2005-12-07 06:27:43 EST
Hmm, 'while :; do :; done' doesn't get interrupted by SIGHUP now.  Fixed in 3.0-39.
Comment 7 Tim Waugh 2005-12-08 06:31:51 EST
Also 'read line' didn't get interrupted by SIGHUP.  Fixed in 3.0-40.
Comment 8 Tim Waugh 2005-12-15 05:57:10 EST
Also bug #175786 is caused by this change.
Comment 10 Bob Johnson 2006-04-11 12:03:32 EDT
This issue is on Red Hat Engineering's list of planned work items 
for the upcoming Red Hat Enterprise Linux 3.8 release.  Engineering 
resources have been assigned and barring unforeseen circumstances, Red 
Hat intends to include this item in the 3.8 release.

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