Hi,

In Gentoo bash reads /etc/bash/bashrc when it's started as non-login
shell, which can prevent a clean environment from being created (the
default file however is only used for settings PS1). I discovered this
on my newly-installed Gentoo system, but I don't know if it's a recent
change, since I used a quite old version before (where bash didn't
read /etc/bash/bashrc).

Maybe it's not a proper solution, but a workaround is to start bash in
posix mode (with --posix), and set the ENV variable to ~/.bashrc
--
http://linuxfromscratch.org/mailman/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to