Bug 4351
| Summary: | bad file /etc/profile.d/kde.csh -- not csh script | ||
|---|---|---|---|
| Product: | [Retired] Red Hat Linux | Reporter: | mbw8 |
| Component: | kdesupport | Assignee: | David Lawrence <dkl> |
| Status: | CLOSED DUPLICATE | QA Contact: | |
| Severity: | medium | Docs Contact: | |
| Priority: | high | ||
| 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-08-04 16:34:13 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: | |||
The upgraded 1.1.1 kdesupport from ftp.updates.com for rh6.0 has a buggy file /etc/profile.d/kde.csh It causes users with the CSH shell and sourcing the system defaults to stop. It is caused by this file using bash syntax, not csh syntax. Here is a fixed version: # KDE initialization script (csh) #echo "CSH kde init script" if ( $?KDEDIR ) then if ( $KDEDIR == "/usr" ) then exit endif endif setenv KDEDIR /usr setenv kdepath "${KDEDIR}/bin" echo $PATH | grep -q $kdepath if ( $status ) then exit endif setenv PATH "${kdepath}:${PATH}"