Bug 11140
Summary: | csh does not execute /etc/profile.d | ||||||
---|---|---|---|---|---|---|---|
Product: | [Retired] Red Hat Linux | Reporter: | Dr. Tilmann Bubeck <tilmann> | ||||
Component: | setup | Assignee: | Bill Nottingham <notting> | ||||
Status: | CLOSED RAWHIDE | QA Contact: | |||||
Severity: | medium | Docs Contact: | |||||
Priority: | medium | ||||||
Version: | 6.2 | CC: | rvokal | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | All | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2000-05-22 18:54:34 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: | |||||||
Attachments: |
|
Description
Dr. Tilmann Bubeck
2000-05-01 06:54:49 UTC
Created attachment 221 [details]
Patch for problem
csh.login should already read profile.d for login shells; are you invoking (t)csh with tcsh -l? No, I used gdm (or xdm) to login and my user shell ist "tcsh". Therefore the xterms are no login shell.... I'm not sure, =when= to execute the things in /etc/profile.d/*.csh in such a case (because there is =no= login shell), but they =should= be executed at least once. To ensure, that all X clients have the same environment, the /etc/profile.d/ should be invoked from xdm (ot it's scripts..)? BUT some things defined in /etc/profile.d/*.csh (e.g. DIRCOLORs) must be read by =each= shell and should be executed in /etc/csh.cshrc. BUT some others should only be executed once at login time.... To make this you probably have to change semantics of /etc/profile.d/. Maybe something like: foo-bar.csh (deprecated: executed by login and "normal" shells) foo-bar.csh-login (executed only by login shells) foo-bar.csh-cshrc (executed by every shell) This is fixed in the latest setup package in rawhide. |