Bug 65467 - /etc/man.config should MANPATH_MAP /usr/local/share/man
Summary: /etc/man.config should MANPATH_MAP /usr/local/share/man
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: man
Version: 7.3
Hardware: i386
OS: Linux
medium
low
Target Milestone: ---
Assignee: Eido Inoue
QA Contact: Ben Levenson
URL:
Whiteboard:
: 66861 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2002-05-24 17:57 UTC by roger
Modified: 2007-04-18 16:42 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2003-01-07 20:38:59 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2003:133 0 normal SHIPPED_LIVE : Updated man packages fix minor vulnerability 2003-05-01 04:00:00 UTC
Red Hat Product Errata RHSA-2003:134 0 normal SHIPPED_LIVE Low: man security update 2003-04-28 04:00:00 UTC

Description roger 2002-05-24 17:57:22 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 Galeon/1.2.2 (X11; Linux i686; U;) Gecko/20020510

Description of problem:
/etc/man.config contains:

MANPATH_MAP
/usr/local/bin
	/usr/local/man
MANPATH_MAP
/usr/local/sbin
	/usr/local/man

However, filesystem-2.1.6-2 creates /usr/local/share/man and does not create
/usr/local/man. This implies that /etc/man.config should contain this instead:

MANPATH_MAP
/usr/local/bin
	/usr/local/share/man
MANPATH_MAP     /usr/local/sbin         /usr/local/share/man

Version-Release number of selected component (if applicable): man-1.5j-6

How reproducible:
Always

Steps to Reproduce:
1. Configure, build, and install an executable program into /usr/local/bin, with
its man pages in /usr/local/share/man. With GNU configure-based programs, such
as mutt-1.3.99, you can do './configure --mandir=/usr/local/share/man; make
install'.
2. Make sure /usr/local/bin is in your $PATH.
3. Do 'man mutt' (or whatever).
	
Actual Results:  [roger@kiera roger]$ man mutt
No manual entry for mutt

Expected Results:  Show the mutt(1) man page.

Additional info:

I tested the first line of the proposed change and it seems to work as expected.

Comment 1 Eido Inoue 2003-01-07 20:22:21 UTC
*** Bug 66861 has been marked as a duplicate of this bug. ***

Comment 2 Eido Inoue 2003-01-07 20:38:59 UTC
fixed in man-1.5j-15

Comment 3 Mark J. Cox 2003-04-28 12:45:56 UTC
An errata has been issued which should help the problem described in this bug report. 
This report is therefore being closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files, please follow the link below. You may reopen 
this bug report if the solution does not work for you.

http://rhn.redhat.com/errata/RHSA-2003-134.html



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