Bug 429838 - Files /etc/profile.d/*.csh are not processed to build environment for non-login tcsh
Summary: Files /etc/profile.d/*.csh are not processed to build environment for non-log...
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: setup
Version: 8
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Phil Knirsch
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-01-23 11:49 UTC by Alexandre Silva Lopes
Modified: 2015-03-05 01:19 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2008-02-22 16:02:52 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Alexandre Silva Lopes 2008-01-23 11:49:23 UTC
Description of problem:
If you setup /bin/tcsh as your shell, the files /etc/profile.d/*.csh are not
processed to build the environment for non-login shell, i.e. for a gnome
terminal. As a consequence, settings in /etc/sysconfig/i18m are not applied, the
terminal is not considered color capable and you do not get syntax highlighting
in vim, etc.


Version-Release number of selected component (if applicable): 2.6.10-1.fc8


How reproducible: always


Steps to Reproduce:
1. Set /bin/tcsh as youe shell - chsh -s /bin/tcsh.
2. Logout and login again.
3. Open a gnome-terminal.
  
Actual results:
Files /etc/profile.d/*.csh are not processed to setup the environment. For
instance: "alias l." returns nothing.


Expected results:
Files /etc/profile.d/*.csh should be processed to setup the environment. For
instance: "alias l." should return "ls -d .* --color=tty", as defined in
/etc/profile.d/colorls.csh.


Additional info:
Files /etc/profile.d/*.csh where previously (until Fedora 7) processed by
/etc/csh.cshrc, but are now processed by /etc/csh.login, which results in the
described behavior.

Comment 1 Phil Knirsch 2008-02-22 16:02:52 UTC
Will be fixed in next setup package. /etc/profile.d/*.csh scripts will now be
executed from /etc/cshrc again if it isn't a login shell (otherwise they would
be called twice for login shells).

Read ya, Phil

Comment 2 Orion Poplawski 2008-06-25 22:34:59 UTC
It would be nice if an update fixing this in F8 was released.


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