Red Hat Bugzilla – Bug 98373
makewhatis is just plain broken
Last modified: 2007-04-18 12:55:24 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20030225
Description of problem:
Broken since at least RHL 7.1.
makewhatis doesn't handle man directories outside its fixed path. Attempting to
add a new man directory to the whatis database clobbers the existing database
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. man -k ls; man -k tripwire
2. makewhatis /usr/local/tripwire/tfs/man
3. man -k ls; man -k tripwire
Actual Results: Existing whatis database gets overwritten.
Expected Results: Existing database is augmented.
not a bug. To update an existing database and not overwrite the previous
version, you need to use the command option "-u".