Is there a bug in the Red Hat bash initialization scripts, /etc/bashrc? When one opens a gnome-terminal, after a successful X session start of gnome, here is what I believes happens:
1) Xsession starts a bash login session. 2) gnome-terminal starts a non-login session. This means that: a) /etc/profile is sourced in step 1) above b) /etc/profile in turn sources /etc/profile.d/*.sh c) ~/.bash_profile is sourced in step 1) above, as it is a login session. d) ~/.bashrc is sourced in 2) above e) ~/.bashrc in turn sources /etc/bashrc again, which f) sources /etc/profile.d/*.sh again. If one looks at a path statement, one will see multiple invocations. I think that this is where this is coming from. The root of this, I think, is that last several lines in /etc/bashrc which, as noted in the comment, say, "We're not in a login shell", and therefore sources /etc/profile.d/*.sh incorrectly for the second time. I further note that one gets a different path at a console login than at a gnome-terminal login, which is consistent with the above. -- John P. Verel Living Proof That Low Tech Beats High Tech! _______________________________________________ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list