Bug 193594 - Man command doesn't read /etc/man.config for manpath
Summary: Man command doesn't read /etc/man.config for manpath
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: man
Version: 5
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Ivana Varekova
QA Contact: Ben Levenson
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2006-05-30 20:34 UTC by Penelope Fudd
Modified: 2007-11-30 22:11 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2006-11-30 09:15:29 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
Man -w -d output (924 bytes, application/octet-stream)
2006-06-07 14:24 UTC, Penelope Fudd
no flags Details
/etc/man.config (4.52 KB, text/plain)
2006-06-07 14:25 UTC, Penelope Fudd
no flags Details

Description Penelope Fudd 2006-05-30 20:34:12 UTC
Description of problem:
I added a file to /usr/local/share/man/man1 (call it foo.1), but typing 'man
foo' doesn't display it.

Version-Release number of selected component (if applicable):
man-1.6c-2.fc5

How reproducible:
All the time

Steps to Reproduce:
1. mkdir -p /usr/local/share/man/man1
2. cp testfile.1 /usr/local/share/man/man1
3. chmod -R a+rX /usr/local/share/man
4. vi /etc/man.config   (make sure /usr/local/share/man is in MANPATH)
5. man testfile
6. man -w
7. manpath

Actual results:
No manual entry for testfile
/usr/man:/usr/share/man
/usr/man:/usr/share/man

Expected results:
Manpage for testfile should show up, man -w/manpath should show
/usr/man:/usr/share/man:/usr/local/share/man

Additional info:
Initially I thought it was due to my LANG being set to POSIX, but changing it
back to en_US.UTF-8 had no effect.

Comment 1 Penelope Fudd 2006-05-30 20:35:37 UTC
The command "strace -fo/tmp/a manpath" shows that manpath is reading
/etc/man.config, but not actually checking to see if /usr/local/share/man is
present.

Comment 2 Ivana Varekova 2006-06-07 08:50:44 UTC
Could you please attach the output of command `man -w -d` and your man.config file.

Comment 3 Penelope Fudd 2006-06-07 14:24:54 UTC
Created attachment 130678 [details]
Man -w -d output

Comment 4 Penelope Fudd 2006-06-07 14:25:36 UTC
Created attachment 130679 [details]
/etc/man.config

Comment 5 Penelope Fudd 2006-06-14 22:55:45 UTC
Done

Comment 6 Ivana Varekova 2006-11-30 09:15:29 UTC
man behavior is right. It seems you have nonstandart setting -
The set of paths which is man looking for man pages depends on enviroment
variables. It seems you have set variable MANPATH to "/usr/share/man" which
causes this behavior. 


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