[Bug 890916] Re: Login shell not sourcing /etc/profile and ${HOME}/.bashrc

Adam Conrad adconrad at 0c3.net
Thu May 8 22:35:13 UTC 2014


bash (4.3-7ubuntu3) utopic; urgency=medium

  * Revert the last change. Upload didn't mention any Ubuntu issues, and
    closing issues like lp: #890916 which complain that there are too many
    places to set aliases aren't solved by just adding another place to
    add these. Requires further discussion as also told before the upload.

 -- Matthias Klose <doko at ubuntu.com>  Thu, 08 May 2014 11:58:40 +0200


** Changed in: bash (Ubuntu)
       Status: Fix Released => Confirmed

-- 
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/890916

Title:
  Login shell not sourcing /etc/profile and ${HOME}/.bashrc

Status in “bash” package in Ubuntu:
  Confirmed

Bug description:
  bash does not source /etc/profile and ${HOME}/.bashrc for login
  shells, ignoring some settings done within these files. Additionally
  aliases are set while sourcing /etc/profile and ${HOME}/.bashrc
  overwriting each other. Aliases shall be read at one place only from
  one source if possible. Not from /etc/profile.d/aliases.sh, from
  within /etc/profile and from ${HOME}/.bashrc there is to much
  posibility you'll change aliases overwritten by other parts while
  executing login leading to different command behaviour later on. This
  can be something really bad: assume one awaiting "rm" aliased to "rm
  -i" kicking of "rm -r *" assuming this set because he/she is used to
  it from xterm, but it isn't set this way login in from somewhere else
  via ssh or ssh+screen and having again a different behaviour logging
  in with xterm+byobu or ssh+byobu enabled!

  ProblemType: Bug
  DistroRelease: Ubuntu 11.10
  Package: bash 4.2-0ubuntu4
  Uname: Linux 3.0.9 x86_64
  ApportVersion: 1.23-0ubuntu4
  Architecture: amd64
  Date: Wed Nov 16 00:37:49 2011
  InstallationMedia: Xubuntu 11.10 "Oneiric Ocelot" - Release amd64 (20111012)
  ProcEnviron:
   PATH=(custom, user)
   LANG=de_DE.UTF-8
   SHELL=/bin/bash
  SourcePackage: bash
  UpgradeStatus: No upgrade log present (probably fresh install)
  mtime.conffile..etc.bash.bashrc: 2011-10-19T21:08:11.823309

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



More information about the foundations-bugs mailing list