[Bug 17962] Re: newly opened gnome-terminal windows don't have .bash_profile sourced

Dan Muresan 17962 at bugs.launchpad.net
Wed Oct 16 14:09:36 UTC 2013


That was absolute bull. Ubuntu obviously ships with /etc/profile, which
is a "version" of bash_profile, so #8 was a specious argument. And
placing "profiley" stuff into bashrc slows down the shell (as if it's
not slow enough already!)

Some .xsessionrc file (or whatever is read by the *dm's) must make sure
to read /etc/profile. If that is not done at the system level it must be
recommended to users as the preferred workaround for this utter
nonsense.

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to bash in Ubuntu.
https://bugs.launchpad.net/bugs/17962

Title:
  newly opened gnome-terminal windows don't have .bash_profile sourced

Status in “bash” package in Ubuntu:
  Invalid

Bug description:
  Unless "Edit->Current Profile->Title & Command-> Run command as login shell" is
  checked, a newly opened gnome-terminal does not source .bash_profile. So, for
  example, ~/bin is not added to $PATH, if ~/bin is present

  This may be the correct behavior, but it is not this way on Fedora Code 3. If
  this is the correct behavior, perhaps the previously mentioned setting should be
  enabled by default.

  Thanks -- Andy

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/bash/+bug/17962/+subscriptions



More information about the foundations-bugs mailing list