Can anyone tell me how bash is sourcing /etc/bash.bashrc?
I am running suse 11.3 and decided to patch bash because of the shell shock issue. After building bash with the source and patching it, now when open a terminal my login is no longer user@hostname~$, now it is bash4.1~$, also I no longer have my PATH set and no colors in the terminal window. So I’m thinking the /etc/bash.bashrc script isn’t getting source. I look in my home directory and there is no .bashrc and no .bash_profile but default.
I looked at another suse 11.3 machine prior to the bash update and there isn’t a .bashrc or .bash_profile so how are the settings getting set?
Does not exists by default in openSUSE at least on my system starting from 10.3
And yes you need to add the openSUSE patches too, if you compile your own bash from source. Well if you miss sourcing /etc/bash.bashrc and some other stuff.
I know suse 11.3 is not supported any more thats why I went the route of downloading the same version of bash (bash 4.1) and then applying the patches from gnu.org.
We have quite a few old suse machines and cannot upgrade to the latest at the moment. I prefer to patch the existing version we are using since newer versions could potentially have unknown effects on existing private software using bash. I appreciate you help on understanding why bash is behaving differently than on other distrubutions.
My apologies, my post had “rpm” instead or “rpmbuild” as Malcolm pointed out and naturally it’s rpmbuild as I wasn’t able to edit the post after 10 minutes after I noticed my stupid mistake