Bug 1739584

Summary: /etc/profile.de/kde.csh is defect. Wron Syntax in if statement
Product: Red Hat Enterprise Linux 7 Reporter: kramski_gmbh <webmaster>
Component: kde-settingsAssignee: Jan Grulich <jgrulich>
Status: CLOSED DUPLICATE QA Contact: Desktop QE <desktop-qa-list>
Severity: high Docs Contact:
Priority: unspecified    
Version: 7.8   
Target Milestone: rc   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-08-09 15:59:39 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:

Description kramski_gmbh 2019-08-09 15:06:58 UTC
Description of problem:
After login with <SID>adm on SAP System, The SAP system does not start
after update. With the update of kde-settings-19-23.9.el7.noarch the file
/etc/profile.d/kde.csh produces an error:




Version-Release number of selected component (if applicable):
rpm -qif /etc/profile.d/kde.csh
Name        : kde-settings
Version     : 19
Release     : 23.9.el7
Architecture: noarch
Install Date: Fr 09 Aug 2019 09:40:52 CEST
Group       : Unspecified
Size        : 21631
License     : MIT
Signature   : RSA/SHA256, Mi 20 Mär 2019 10:58:56 CET, Key ID 199e2f91fd431d51
Source RPM  : kde-settings-19-23.9.el7.src.rpm
Build Date  : Mo 18 Mär 2019 08:54:07 CET
Build Host  : arm64-011.build.eng.bos.redhat.com
Relocations : (not relocatable)
Packager    : Red Hat, Inc. <http://bugzilla.redhat.com/bugzilla>
Vendor      : Red Hat, Inc.
URL         : https://github.com/FedoraKDE/kde-settings
Summary     : Config files for kde
Description :
Config files for kde.


How reproducible:
source /etc/profile.d/kde.csh
if: Expression Syntax.


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Wrong line is: if [ ! -d ${HOME}/.local/share -a -w ${HOME} ] then
Correct line : if ( ! -d ${HOME}/.local/share && -w ${HOME}/backup ) then

Comment 2 Jan Grulich 2019-08-09 15:59:39 UTC

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