Bug 597647 - pathmunge
pathmunge
Status: CLOSED ERRATA
Product: Fedora
Classification: Fedora
Component: ksh (Show other bugs)
13
All Linux
low Severity medium
: ---
: ---
Assigned To: Michal Hlavinka
Fedora Extras Quality Assurance
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2010-05-29 19:57 EDT by Michael Andrews
Modified: 2010-06-14 13:19 EDT (History)
2 users (show)

See Also:
Fixed In Version: ksh-20100309-6.fc12
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 598107 (view as bug list)
Environment:
Last Closed: 2010-06-14 13:08:17 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
Corrected /etc/kshrc file (792 bytes, application/octet-stream)
2010-05-29 19:57 EDT, Michael Andrews
no flags Details

  None (edit)
Description Michael Andrews 2010-05-29 19:57:53 EDT
Created attachment 417942 [details]
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):
ksh-20100309-3.fc13.x86_64

How reproducible:


Steps to Reproduce:
1. Open terminal program (xterm)
2. at prompt type: /bin/ksh
  
Actual results:
/home/user/.kshrc[15]: .[29]: .[4]: pathmunge: not found [No such file or directory]


Expected results:
Silence

Additional info:
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
Comment 1 Ondrej Vasik 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.
Comment 2 Michal Hlavinka 2010-05-31 08:42:42 EDT
fixed in F12+
Comment 3 Fedora Update System 2010-05-31 09:03:43 EDT
ksh-20100309-6.fc12 has been submitted as an update for Fedora 12.
http://admin.fedoraproject.org/updates/ksh-20100309-6.fc12
Comment 4 Fedora Update System 2010-05-31 09:03:48 EDT
ksh-20100309-6.fc13 has been submitted as an update for Fedora 13.
http://admin.fedoraproject.org/updates/ksh-20100309-6.fc13
Comment 5 Fedora Update System 2010-06-01 14:13:29 EDT
ksh-20100309-6.fc13 has been pushed to the Fedora 13 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update ksh'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/ksh-20100309-6.fc13
Comment 6 Fedora Update System 2010-06-01 14:19:45 EDT
ksh-20100309-6.fc12 has been pushed to the Fedora 12 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update ksh'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/ksh-20100309-6.fc12
Comment 7 Fedora Update System 2010-06-14 13:08:13 EDT
ksh-20100309-6.fc13 has been pushed to the Fedora 13 stable repository.  If problems still persist, please make note of it in this bug report.
Comment 8 Fedora Update System 2010-06-14 13:19:07 EDT
ksh-20100309-6.fc12 has been pushed to the Fedora 12 stable repository.  If problems still persist, please make note of it in this bug report.

Note You need to log in before you can comment on or make changes to this bug.