Package: bash
Version: 4.3-2
Severity: normal

$ echo $HISTFILESIZE
50000

The value is set at the last line of ~/.bashrc:

if [ -f /etc/bash.custom ]; then
  . /etc/bash.custom
fi

$ grep HIST /etc/bash.custom 
HISTFILESIZE=50000
HISTSIZE=-1
HISTCONTROL=erasedups
export PS1 HISTCONTROL HISTSIZE HISTFILESIZE PAGER PATH

$ wc -l .bash_history
2000 .bash_history

Even when HISTFILESIZE is exported to 50000, the number of lines in 
.bash_history is limited to the default setting of 2000 lines.

This has been working perfectly well until some time ago, I noticed that 
regularely used commands had disapeared from the history file and that the file 
is truncated to 2000 lines, whether the HISTFILESIZE is set or not.

Richard.

-- System Information:
Debian Release: jessie/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 3.13-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages bash depends on:
ii  base-files   7.2
ii  dash         0.5.7-4
ii  debianutils  4.4
ii  libc6        2.18-4
ii  libtinfo5    5.9+20140118-1

Versions of packages bash recommends:
ii  bash-completion  1:2.1-2

Versions of packages bash suggests:
pn  bash-doc  <none>

-- Configuration Files:
/etc/skel/.bash_logout changed [not included]
/etc/skel/.bashrc changed [not included]

-- no debconf information


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to