Red Hat Bugzilla – Bug 598107
/etc/kshrc missing pathmunge
Last modified: 2011-10-03 10:47:41 EDT
+++ This bug was initially created as a clone of Bug #597647 +++
Created an attachment (id=417942)
Corrected /etc/kshrc file
Description of problem:
When using ksh with ccache installed, the /etc/profile.d/ccache.sh script reports that pathmunge is not found.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Open terminal program (xterm)
2. at prompt type: /bin/ksh
/home/user/.kshrc: .: .: pathmunge: not found [No such file or directory]
Can be fixed by modifying /etc/kshrc to more closely match /etc/zshrc. In this case, define the pathmunge() function in /etc/kshrc and unset it at the end of the script. See attachment for corrected /etc/kshrc
--- Additional comment from email@example.com on 2010-05-31 06:49:10 EDT ---
Or better one - without grep ... https://bugzilla.redhat.com/show_bug.cgi?id=544652#c7 ... it is much faster.
This request was evaluated by Red Hat Product Management for
inclusion in the current release of Red Hat Enterprise Linux.
Because the affected component is not scheduled to be updated in the
current release, Red Hat is unfortunately unable to address this
request at this time. Red Hat invites you to ask your support
representative to propose this request, if appropriate and relevant,
in the next release of Red Hat Enterprise Linux.
This request was erroneously denied for the current release of
Red Hat Enterprise Linux. The error has been fixed and this
request has been re-proposed for the current release.
I've missed that rhel 5.8 ksh does not ship kshrc. Adding kshrc to rhel 5.8 so we can fix it does not make much sense, also it could change behaviour of some scripts and we don't want that. Closing WONTFIX.