Bug 1124472

Summary: shell namespace pollution with /etc/profile.d/kde.{,c}sh
Product: Red Hat Enterprise Linux 7 Reporter: Jacob Hunt <jhunt>
Component: kde-settingsAssignee: Than Ngo <than>
Status: CLOSED ERRATA QA Contact: Desktop QE <desktop-qa-list>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 7.0CC: than, vbenes
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: kde-settings-19-23.5.el7 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-11-25 13:16:50 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: 1064025    

Description Jacob Hunt 2014-07-29 14:43:33 UTC
Description of problem:

Due to a change for RHEL7, the file "/etc/profile.d/kde.sh" (and kde.csh as well) is now leaving the shell variable "libdir" still set when passing control to the users' shell environments.  The script should have an "unset libdir" line tacked on the end of it.

Also, the /etc/profile.d/kde.{csh,sh} files are packaged with execute permissions.  This is unnecessary and inappropriate for sourced shell files.  If you look at the other files under "/etc/profile.d", you'll see all of them are mode 0644, not an extraneous 0755.

Version-Release number of selected component (if applicable):

kde-settings-19-23.4.el7.noarch

Comment 1 Than Ngo 2014-07-30 10:14:35 UTC
grant devel ack for fasttrack

Comment 8 errata-xmlrpc 2014-11-25 13:16:50 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHBA-2014-1901.html