Which of the changes introduced in F21 might affect bash history?

Florian Weimer fweimer at redhat.com
Mon Feb 16 09:16:10 UTC 2015

On 02/16/2015 09:34 AM, Alexander Ploumistos wrote:
> I have upgraded 3 systems to a nonproduct F21 and I have installed F21
> to a couple of others using the x86_64 Live Workstation image. They
> all suffer from intermittent losses of bash history. When the machines
> are booted or rebooted, more than half the times, there are commands
> missing from .bash_history files. It's not only that the previous
> sessions have not been appended to the files, entire portions of the
> files are wiped on occasion, e.g. history files that were more than
> 2000 lines long are now reduced to just a couple of commands.

I see something similar, but without rebooting, just by opening and
closing shells.  A lot of the history is suddenly missing, even in
running shells (probably because it is re-read from disk, and something
goes wrong with the merging).

Florian Weimer / Red Hat Product Security

More information about the devel mailing list