Bug 1738491
| Summary: | kde.csh profile file contains bourne-shell code | |||
|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 7 | Reporter: | Dennixx <voetelink> | |
| Component: | kde-settings | Assignee: | Jan Grulich <jgrulich> | |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Desktop QE <desktop-qa-list> | |
| Severity: | high | Docs Contact: | ||
| Priority: | high | |||
| Version: | 7.7 | CC: | adam.winberg, ayadav, baumanmo, bkw1a, carlson.adam.web, cbesson, chun-liang.lin, dhjoshi, garloff.annette, goeran, jwright, kelliher, lopresti, mvanderw, pdwyer, prjagtap, ridge, riehecky, rmj, snejoshi, stephane.lafargue, thellama000, toracat, tpelka, voetelink, webmaster | |
| Target Milestone: | rc | Keywords: | Regression, ZStream | |
| Target Release: | 7.7 | |||
| Hardware: | noarch | |||
| OS: | Linux | |||
| Whiteboard: | ||||
| Fixed In Version: | Doc Type: | If docs needed, set a value | ||
| Doc Text: | Story Points: | --- | ||
| Clone Of: | ||||
| : | 1740042 (view as bug list) | Environment: | ||
| Last Closed: | 2020-05-17 19:17:08 UTC | Type: | Bug | |
| Regression: | --- | Mount Type: | --- | |
| Documentation: | --- | CRM: | ||
| Verified Versions: | Category: | --- | ||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | ||
| Cloudforms Team: | --- | Target Upstream Version: | ||
| Embargoed: | ||||
| Bug Depends On: | ||||
| Bug Blocks: | 1740042 | |||
|
Description
Dennixx
2019-08-07 10:15:57 UTC
I also opened a support case for this: 02443776 su - (to root) has the exact same issue. *** Bug 1739584 has been marked as a duplicate of this bug. *** *** Bug 1739688 has been marked as a duplicate of this bug. *** Here is updated kde-settings package which should fix this issue: https://jgrulich.fedorapeople.org/kde-settings/ Tested kde-settings-19-23.10.el7_7.noarch, and it solved the issue. So you folks don't test csh nor tcsh as a login shell? I installed the package via the fedora site, and indeed it solves the problem ... for the c-shell. But now the bash produces an error when invoked... -bash: /etc/profile.d/kde.sh: line 3: syntax error near unexpected token `setenv' -bash: /etc/profile.d/kde.sh: line 3: `if ( ! $?KDEDIRS ) setenv KDEDIRS /usr' the kde.sh in said directory is coded in csh... really?? I have installed the package from https://jgrulich.fedorapeople.org/kde-settings/ and it solves thr problem - for the c-shell. But now the bash produces an error when invoked: $ su - Last login: Wed Aug 28 17:42:39 CEST 2019 on pts/0 -bash: /etc/profile.d/kde.sh: line 3: syntax error near unexpected token `setenv' -bash: /etc/profile.d/kde.sh: line 3: `if ( ! $?KDEDIRS ) setenv KDEDIRS /usr' the kde.sh in said directory is coded in csh... Really??? (In reply to garloff.annette from comment #16) > I have installed the package from > https://jgrulich.fedorapeople.org/kde-settings/ and it solves thr problem - > for the c-shell. > > But now the bash produces an error when invoked: > > $ su - > Last login: Wed Aug 28 17:42:39 CEST 2019 on pts/0 > -bash: /etc/profile.d/kde.sh: line 3: syntax error near unexpected token > `setenv' > -bash: /etc/profile.d/kde.sh: line 3: `if ( ! $?KDEDIRS ) setenv KDEDIRS > /usr' > > the kde.sh in said directory is coded in csh... > > Really??? I don't know why do you get such error, but when I download the above mentioned RPM and unpack it, I don't see such line in /etc/profile.d/kde.sh. Sorry, seems to have been my mistake (?). I have downgraded the kde-settings to Version 8, than updated again with your package - this time the kde.sh has the same time-stamp, but it looks much different and is ok. Regards *** Bug 1710925 has been marked as a duplicate of this bug. *** *** Bug 1748186 has been marked as a duplicate of this bug. *** *** Bug 1756535 has been marked as a duplicate of this bug. *** *** Bug 1710925 has been marked as a duplicate of this bug. *** |