shell namespace pollution with /etc/profile.d/kde.{csh,sh} in RHEL 7.

Solution In Progress - Updated -

Issue

  • Due to a change for RHEL7, the file /etc/profile.d/kde.sh and kde.csh are 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.

Environment

  • Red Hat Enterprise Linux (RHEL) 7

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content