On Sat, 19 Jan 2013 00:46:56 -0500 "Daniel Richard G." <[email protected]> wrote:
> Package: base-files
> Version: 7.1
> 
> The current /etc/profile sources /etc/bash.bashrc, and then
> /etc/profile.d/*.sh, among other start-up tasks. This is
> counterproductive, because it makes the profile.d mechanism useless for
> initializations that need to precede the system bashrc.
> 
> /etc/bash.bashrc should be sourced at the end of /etc/profile, after all
> the other profile stuff has been done. This is what I would intuitively
> expect, because non-login shells likewise read the bashrc "after" the
> profile---they inherit the profile's environment initializations from
> the initial login shell, which can be considered to have come "first."

This is an extremely bad idea, because it results in any site-specific
command prompt customization that has been put in /etc/profile.d scripts
being systematically squashed by the upstream defaults, which goes
against the whole point of LSB section 16.2.

Martin-Éric


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]
Archive: https://lists.debian.org/debian-bugs-dist

Reply via email to