Bug 104333

Summary: Directory added to man.config not working
Product: Red Hat Enterprise Linux 2.1 Reporter: Ken Leung <kleung>
Component: manAssignee: Chris Van Hoof <vanhoof>
Status: CLOSED NOTABUG QA Contact: Ben Levenson <benl>
Severity: medium Docs Contact:
Priority: medium    
Version: 2.1   
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2003-09-12 22:59:55 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Ken Leung 2003-09-12 19:19:13 UTC
From Bugzilla Helper:
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0)

Description of problem:
After adding a directory containing man pages to /etc/man.config, we still 
cannot read the man pages in that directory. We added the following directory 
to man.config:

/network/usr/share/man

Immediately afterwards we attempt to execute "man Blast" (Blast.man is a man 
page in /network/usr/share/man/mandiv). It returns the messages "No manual 
entry for Blast". We have a RedHat 7.2 system with the exact same man.config, 
and its man (man-1.5i2-6) and has absolutely no problem finding the same man 
page.

Version-Release number of selected component (if applicable):
man-1.5i2-7.21as.0

How reproducible:
Always

Steps to Reproduce:
1. Add new directory to man.config
2. Run "man subject" for a subject.man page in the new directory
3.
    

Actual Results:  Returns "No manual entry for (subject)"

Expected Results:  Should display the man page correctly.

Additional info:

We did not reboot the system or restart any services after editing man.config.

A "man -d man" returns "found man directory /network/usr/share/man", showing 
that it found our directory. However the results section which says "path 
directory xxx is in the config file" does not even mention the new directory.

Comment 1 Ken Leung 2003-09-12 22:33:45 UTC
man -d man actually does talk about the added 
directory "/network/usr/share/man". The output is below:

adding /network/usr/share/man to manpath
using default preprocessor sequence
found tbl(1) directive

Comment 2 Ken Leung 2003-09-12 22:59:55 UTC
Needed to add "div" to the MANSECT in /etc/man.config