[Bug 890916] Re: Login shell not sourcing /etc/profile and ${HOME}/.bashrc
Dimitri John Ledkov
launchpad at surgut.co.uk
Thu May 8 01:07:40 UTC 2014
bash (4.3-7ubuntu2) utopic; urgency=medium
* Source profile.d from /etc/bash.bashrc to allow packages ship
integration hooks into interactive shells, same ones they already ship
for login shells. (Closes: #675008)
-- Dimitri John Ledkov <xnox at ubuntu.com> Wed, 07 May 2014 12:12:04 +0100
** Changed in: bash (Ubuntu)
Status: New => Fix Released
--
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:
Fix Released
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