Bug 10241 - RHL 6.1 "bashrc" and "profile" comments.
Summary: RHL 6.1 "bashrc" and "profile" comments.
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: setup
Version: 6.1
Hardware: All
OS: Linux
medium
low
Target Milestone: ---
Assignee: Bill Nottingham
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2000-03-19 19:55 UTC by swear
Modified: 2014-03-17 02:13 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2000-10-10 13:54:08 UTC
Embargoed:


Attachments (Terms of Use)

Description swear 2000-03-19 19:55:04 UTC
Various "bashrc" & and "profile" files refer to "aliases and functions".
That should instead be "aliases, non-exported functions, and
non-exported variables".

I could go on about the poor shell startup-script scheme (BASH_ENV,
/etc/profile.d, etc.), but I suppose it's a feature, not a bug.
Much of the fault belongs to bash.  They must have worked hard to
make something so simple so confusing, namely to control what
happens at the startup of four combinations of (non-)interactive
and (non-)login shells.  I've got a small "profile" which sets
a couple of variables for "bashrc" and everything else is there
in "exported" and "not exported" sections.

Comment 1 Bernhard Rosenkraenzer 2000-10-10 13:54:03 UTC
/etc/profile etc. belong to the setup package, assigning

Comment 2 Bill Nottingham 2001-01-29 18:16:41 UTC
This is not something that I think we'll change ATM.


Note You need to log in before you can comment on or make changes to this bug.