Bug 3832
| Summary: | /etc/profile.d/kde.csh has invalid code | ||
|---|---|---|---|
| Product: | [Retired] Red Hat Linux | Reporter: | A.J. Aranyosi <aja> |
| Component: | kdesupport | Assignee: | David Lawrence <dkl> |
| Status: | CLOSED DUPLICATE | QA Contact: | |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 6.0 | ||
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | i386 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 1999-06-30 22:50:20 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: | |||
One more change: the line
if ( echo ${PATH} | grep -q ${kdepath} ) then
should read
if ( `echo ${PATH} | grep -q ${kdepath}` ) then
|
The file /etc/profile.d/kde.csh in the updated kdesupport package (kdesupport-1.1.1-1) contains the followine line of sh code: kdepath="${KDEDIR}/bin" which should read setenv kdepath "${KDEDIR}/bin" Net result: When a user whose default shell is csh tries to log in (or open an xterm, etc), the script fails at this line, printing the following message in the user's window: kdepath=/usr/bin: Command not found. kdepath: Undefined variable. The user's .cshrc is not executed.