#343673 --rcfile description in bash man page is incorrect

Package:
bash
Source:
bash
Description:
GNU Bourne Again SHell
Submitter:
Vincent Lefevre
Date:
2024-08-10 15:24:03 UTC
Severity:
normal
Tags:
#343673#5
Date:
2005-12-17 02:21:49 UTC
From:
To:
The bash man page says:
#343673#10
Date:
2006-03-05 03:13:49 UTC
From:
To:
Hello,

I have just spent a considerable amount of time finding out where the
hell $PS1 gets set when I use --rcfile, which wouldn't have been
necessary if this was documented properly. So please fix this.

Thanks,
Christian Ohm

#343673#17
Date:
2012-02-06 19:15:04 UTC
From:
To:
I don't think the documentation is the one that should be fixed. What is wrong is the current behavior of executing the wystem-wide even if the user requests a custom --rcfile.

Currently, there's no way for a user to prevent the system bashrc to execute and still use a custom bashrc.

A patch was sent to #516152 and upstream. If accepted, both bugs can be closed.

Cheers,
Rodrigo

#343673#26
Date:
2024-08-10 15:20:16 UTC
From:
To:
For the record, this issue is now considered fixed upstream after a
change in documentation:
https://git.savannah.gnu.org/cgit/bash.git/commit/?h=devel&id=a91b8b077300b0a2a7daefe02f0363f9116e00d5

That commit will be part of Bash 5.3.