Comment 9 for bug 1097467

Revision history for this message
Dave Jones (waveform) wrote (last edit ):

It appears this has come up before, and was discussed upstream. [1] and [2] cover discussion of whether --rcfile should ignore the system-wide bashrc, with the conclusion from upstream that it should not. [3] is an attempt by someone to fix this upstream by modifying bash's behaviour, which is rejected by the upstream developers. [4] and [5] are the upstream Debian bugs (which I'll link this bug to).

At any rate, upstream bash devs have made their position quite clear: the Debian-patched documentation is wrong, and the behaviour of bash is as expected. So, the solution to this bug is to fix the documentation. I'll propose an updated patch here and see if we can't put this decade-old bug to bed!

I'll also try and rebase the noble patch upstream for Debian (there's already a patch there, but it's predictably ancient).

[1]: https://lists.gnu.org/archive/html/bug-bash/2018-01/msg00003.html

[2]: https://lists.gnu.org/archive/html/bug-bash/2009-05/msg00031.html

[3]: https://savannah.gnu.org/support/index.php?107950

[4]: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=516152

[5]: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=343673