Red Hat Bugzilla – Bug 10254
Man does not work on pages that are symbolic links
Last modified: 2008-05-01 11:37:54 EDT
Man and makewhatis fail for man pages which are symbolic links. For
/usr/man/man1/ldapadd.1 is linked to /usr/man/man1/ldapmodify.1
When I do a "man 1 ldapadd" it says the man page does not exist.
Also, I get messages from the weekly cron for makewhatis, here
is a short excerpt:
Read file error: ./ldapadd.1 No such file or directory
Read file error: ./cldap.3 No such file or directory
Read file error: ./ldap_add_s.3 No such file or directory
Read file error: ./ldap_bind_s.3 No such file or directory
Read file error: ./ldap_simple_bind.3 No such file or directory
Read file error: ./ldap_simple_bind_s.3 No such file or directory
I am running RedHat 6.1 on a Packard Bell Platinum 60
4/9/00 MRH -
I figured out what the problem was on my system. I had a previous version of
LDAP installed in /usr/local (which I had uninstalled), so there are symbolic
links hanging out in /usr/local/man that were orphans.
Don't know if you still want to call this a bug or not. You could change the
code to keep searching the MANPATH until it finds a readable file.
We've also encountered the same problem: man stops searching when it encounters
a dangling symlink. I'd like to add my "it's a bug, please fix" vote.
Fixed in 1.5h1-13