pdksh — a new package in Red Hat Enterprise Linux 5.4 — does not recognize the keyword source in scripts. However, the /etc/profile.d/kde.sh script uses the source keyword in the line source /etc/sysconfig/prelink. Consequently, if a user is using pdksh as their shell, and KDE is installed, the following error message will be returned in login shells:
ksh: /etc/profile.d/kde.sh: source: not found
To work around this issue, change the
line in the /etc/profile.d/kde.sh script to
The keyword . is an alias for source in all Bourne compatible shells including bash, AT&T ksh, and pdksh.
This issue will be resolved in an upcoming update to Red Hat Enterprise Linux 5.4.