Bug 3639
| Summary: | Bad commands in /etc/profile.d/kde.csh | ||
|---|---|---|---|
| Product: | [Retired] Red Hat Linux | Reporter: | Kolar, Petr <petr.kolar> |
| 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: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 1999-06-29 15:44:56 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: | |||
If a user has tcsh as her primary shell, the error message would be displayed after login and some other bad things would happen. The problem is in file /etc/profile.d/kde.csh, where somebody forgot to change shell commands to csh commands. Following patch should fix the bug: *** /etc/profile.d/kde.csh Mon Jun 21 20:28:21 1999 --- /etc/profile.d/kde.csh.pk Tue Jun 22 19:29:51 1999 *************** *** 5,13 **** endif endif setenv KDEDIR /usr ! kdepath="${KDEDIR}/bin" ! if ( echo ${PATH} | grep -q ${kdepath} ) then ! exit ! endif ! ! setenv PATH "${kdepath}:${PATH}" --- 5,10 ---- endif endif setenv KDEDIR /usr ! set kdepath="${KDEDIR}/bin" ! echo ${PATH} | grep -q ${kdepath} || \ ! setenv PATH "${kdepath}:${PATH}"