RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1739688 - updates to kde.csh break csh and tcsh logins with if: Expression Syntax error
Summary: updates to kde.csh break csh and tcsh logins with if: Expression Syntax error
Keywords:
Status: CLOSED DUPLICATE of bug 1738491
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: kde-settings
Version: 7.8
Hardware: Unspecified
OS: Linux
unspecified
medium
Target Milestone: rc
: ---
Assignee: Jan Grulich
QA Contact: Desktop QE
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-08-09 18:48 UTC by Adam Carlson
Modified: 2020-04-24 14:27 UTC (History)
0 users

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-08-10 10:04:39 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Adam Carlson 2019-08-09 18:48:55 UTC
Description of problem:
Update from kde-settings-19-23.9 changes syntax of /etc/profile.d/kde.csh which breaks logins for csh and tcsh users. Diff output shown below 

$ diff /etc/profile.d/kde.csh.19-23.8 /etc/profile.d/kde.csh.19-23.9
25c25
< if ( ! -d ${HOME}/.local/share ) then
---
> if [ ! -d ${HOME}/.local/share -a -w ${HOME} ] then


Version-Release number of selected component (if applicable):
kde-settings-19-23.9

How reproducible:
Everytime

Steps to Reproduce:
1. Upgrade kde-settings to version 19-23.9

Actual results:
On login to a system, csh and tcsh users see the error "if: Expression Syntax." which breaks setup of their environment.


Expected results:
Error does not occur and user environment is successfully setup


Additional info:

Comment 2 Adam Carlson 2019-08-09 18:54:38 UTC
Problem syntax from the 19-23.9 updated kde.csh file is on line 25:
if [ ! -d ${HOME}/.local/share -a -w ${HOME} ] then


Correct syntax for the update should be:
if ( ! -d ${HOME}/.local/share && -w ${HOME} ) then

Comment 3 Jan Grulich 2019-08-10 10:04:39 UTC

*** This bug has been marked as a duplicate of bug 1738491 ***


Note You need to log in before you can comment on or make changes to this bug.