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.
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.
Could you please attach the output of command `man -w -d` and your man.config file.
Created attachment 130678 [details] Man -w -d output
Created attachment 130679 [details] /etc/man.config
Done
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.