Bug 458042 - makewhatis error on file name with shell meta-characters
Summary: makewhatis error on file name with shell meta-characters
Alias: None
Product: Fedora
Classification: Fedora
Component: man
Version: 8
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Ivana Varekova
QA Contact: Fedora Extras Quality Assurance
Depends On:
TreeView+ depends on / blocked
Reported: 2008-08-06 09:42 UTC by Patrick Monnerat
Modified: 2008-11-20 09:07 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2008-11-20 09:07:31 UTC
Type: ---

Attachments (Terms of Use)

Description Patrick Monnerat 2008-08-06 09:42:14 UTC
Description of problem:
When man-pages-fr is installed, file '/usr/share/man/fr/man8/ld-linux.so*.8.gz' exists, '*' being a name character and not a meta.
This causes weekly cron makewhatis to send the following report:

makewhatis: line 191: [: too many arguments
makewhatis: line 194: [: too many arguments

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

How reproducible:
Always, if such a weird file name exists.

Additional info:
Could be fixed by double-quoting references to shell variable 'x' in makewhatis script, lines 191, 194, 201

Comment 1 Patrick Monnerat 2008-10-06 16:35:29 UTC
ping ?

Comment 2 Ivana Varekova 2008-11-19 15:06:27 UTC
I can't reproduce the problem you describe - so please could you attach here the full weekly-cron-job-message and the list of all man-pages* packages which you have installed?

Comment 3 Patrick Monnerat 2008-11-19 15:52:42 UTC
No, I can't: I do not have this installation anymore !
But I reproduced it just now manually as follows:

_ On F8, install man-pages-fr (current version is now 3.03.0-1, but it still contains file '/usr/share/man/fr/man8/ld-linux.so*.8.gz')
_ Issue the command "/usr/sbin/makewhatis /usr/share/man/fr"

You will get the two error lines mentionned above.

Comment 4 Ivana Varekova 2008-11-20 09:07:31 UTC
Thanks - fixed in man-1.6f-13.fc11.

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