Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 12303

Summary: /etc/csh.cshrc should exec /etc/profile.d/*
Product: [Retired] Red Hat Linux Reporter: j.pelan
Component: setupAssignee: Bill Nottingham <notting>
Status: CLOSED RAWHIDE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 6.2CC: rvokal
Target Milestone: ---Keywords: FutureFeature
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2000-06-15 15:32:49 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description j.pelan 2000-06-15 15:32:48 UTC
Under RedHat 6.2, the tcsh shell uses two system-wide initialization
scripts, namely /etc/csh.login and /etc/csh.cshrc. The former is
executed once for a 'login' shell and the latter is executed for
every shell invocation.

Until very recently, the system-wide file *always* ran the appropriate
scripts in /etc/profile.d for *every* shell but this behaviour was changed.
Now only the 'login' shell processes /etc/profile.d .

I believe it is important to restore the old default behaviour;

1) The purpose of profile.d is to alter the environment of *every* shell.
   It is a very useful feature as one can easily drop in scripts
   and not have to worry about subsequent upgrades. The environment
   can include *aliases* as well as environment variables which are
   obviously not inherited from invoking shells.

2) The notion of a 'login' shell does not apply in an X11 environment
   so one does not get consistent behaviour between console shells,
   remote logins and xterm shells.

All one needs to do is move the profile.d loop back from csh.login
to csh.cshrc. Please !

Comment 1 Bill Nottingham 2000-06-15 16:01:43 UTC
This has been done as of the latest setup packages in rawhide.