Package: bash
Version: 4.0-4
Severity: normal
Tags: patch

Bash's manpage bash(1) refers, in the 'FILES' section, to the file
/etc/bash.logout as being the system-wide equivalent of ~/.bash_logout.
This however isn't true, instead bash sources /etc/bash.bash_logout when
any login shell exits.

Attached patch fixes this.

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

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

Versions of packages bash depends on:
ii  base-files                5.0.0          Debian base system miscellaneous f
ii  debianutils               3.2.1          Miscellaneous utilities specific t
ii  libc6                     2.9-25         GNU C Library: Shared libraries
ii  libncurses5               5.7+20090803-2 shared libraries for terminal hand

Versions of packages bash recommends:
ii  bash-completion               1:1.0-3    programmable completion for the ba

Versions of packages bash suggests:
pn  bash-doc                      <none>     (no description available)

-- no debconf information
--- /usr/share/man/man1/bash.1  2009-08-23 19:18:23.000000000 +0200
+++ bash.1      2009-09-11 17:03:18.000000000 +0200
@@ -9343,7 +9343,7 @@
 .FN /etc/bash.bashrc
 The systemwide per-interactive-shell startup file
 .TP
-.FN /etc/bash.logout
+.FN /etc/bash.bash_logout
 The systemwide login shell cleanup file, executed when a login shell exits
 .TP
 .FN ~/.bash_profile

Reply via email to