Sorry I did not found a man-db-users mailing list so I post here.
I compiled libpipeline-1.2.0 and man-db-2.6.0.2 from source on a Solaris 11 system, then I useradd'ed a user named "man", then I ran mandb which really took some time. But after that "man ls" outputted nothing.
[bash-4.2] # uname -a SunOS sollab-242.cn.oracle.com 5.11 11.0 i86pc i386 i86pc [bash-4.2] # /usr/local/man-db-2.6.0.2/bin/mandb Purging old database entries in /usr/share/man...
Processing manual pages under /usr/share/man... ... ... Processing manual pages under /usr/share/man/sman7... 0 man subdirectories contained newer manual pages. 0 manual pages were added. 0 stray cats were added.
285 old database entries were purged. [bash-4.2] # declare -x | grep PAGER declare -x PAGER="less -FimRS" [bash-4.2] # /usr/local/man-db-2.6.0.2/bin/man -w ls /usr/share/man/man1/ls.1 [bash-4.2] # /usr/local/man-db-2.6.0.2/bin/man ls
[bash-4.2] # /usr/local/man-db-2.6.0.2/bin/man /usr/share/man/man1/ls.1 [bash-4.2] # /usr/local/man-db-2.6.0.2/bin/man -d ls ruid=0, euid=0 ++priv_drop_count = 1 From the config file /root/.manpath:
path directory /root/bin is not in the config file and doesn't have ../man, man, ../share/man, or share/man subdirectories
path directory /usr/local/bin is in the config file
warning: /usr/local/man: No such file or directory warning: /usr/local/share/man: No such file or directory
path directory /usr/sbin is in the config file adding /usr/share/man to manpath
path directory /usr/bin is in the config file
/usr/share/man is already in the manpath
adding mandatory man directories
/usr/share/man is already in the manpath adding /usr/man to manpath /usr/share/man is already in the manpath warning: /usr/local/share/man: No such file or directory
add_nls_manpaths(): processing /usr/share/man:/usr/man checking for locale C manpath search path (with duplicates) = /usr/share/man:/usr/man:/usr/share/man:/usr/man adding /usr/share/man to manpathlist adding /usr/man to manpathlist
adding /usr/share/man to manpathlist adding /usr/man to manpathlist Removing duplicate manpath entry /usr/man (1) -> /usr/share/man (0) Removing duplicate manpath entry /usr/share/man (1) -> /usr/share/man (0)
Removing duplicate manpath entry /usr/man (1) -> /usr/share/man (0) final search path = /usr/share/man --priv_drop_count = 0 searching in /usr/share/man, section 2 trying section 2 with globbing Layout is Solaris (8)
update_directory_cache /usr/share/man/man2: miss globbing pattern in /usr/share/man/man2: ls.2* update_directory_cache /usr/share/man/cat2: miss can't open directory /usr/share/man/cat2: No such file or directory
directory cache update failed Succeeded in opening /var/cache/man/index.db O_RDONLY searching in /usr/share/man, section 3 trying section 3 with globbing update_directory_cache /usr/share/man/man3: miss globbing pattern in /usr/share/man/man3: ls.3*
update_directory_cache /usr/share/man/cat3: miss can't open directory /usr/share/man/cat3: No such file or directory directory cache update failed searching in /usr/share/man, section 1 trying section 1 with globbing
update_directory_cache /usr/share/man/man1: miss globbing pattern in /usr/share/man/man1: ls.1* matched: /usr/share/man/man1/ls.1
ult_src: File /usr/share/man/man1/ls.1 in mantree /usr/share/man candidate: 0 0 ls /usr/share/man /usr/share/man/man1/ls.1 A - 1 1
searching in /usr/share/man, section n trying section n with globbing update_directory_cache /usr/share/man/mann: miss can't open directory /usr/share/man/mann: No such file or directory directory cache update failed
update_directory_cache /usr/share/man/catn: miss can't open directory /usr/share/man/catn: No such file or directory directory cache update failed searching in /usr/share/man, section 5 trying section 5 with globbing
update_directory_cache /usr/share/man/man5: miss globbing pattern in /usr/share/man/man5: ls.5* update_directory_cache /usr/share/man/cat5: miss can't open directory /usr/share/man/cat5: No such file or directory
directory cache update failed
ult_src: File /usr/share/man/man1/ls.1 in mantree /usr/share/man found ultimate source file /usr/share/man/man1/ls.1 converted /usr/share/man/man1/ls.1 to /usr/share/man/cat1/ls.1.gz
is_changed: a=/usr/share/man/man1/ls.1, b=/usr/share/man/cat1/ls.1.gz (-2) converted /var/cache/man/cat1/ls.1 to /var/cache/man/cat1/ls.1.gz will try cat file /var/cache/man/cat1/ls.1.gz chdir /usr/share/man pre-processors `te' from file
page_encoding = ISO-8859-1 source_encoding = ISO-8859-1 locale_charset = ANSI_X3.4-1968 roff_device (locale) = ascii roff_encoding = ANSI_X3.4-1968 output_encoding = ANSI_X3.4-1968 less_charset = ascii
Terminal width 197 Terminal width 197 not within cat page range [80, 80] Using 192-character lines formatted_encoding = ANSI_X3.4-1968 format: 1, save_cat: 0, found: 1 add_output_iconv: source ANSI_X3.4-1968, target ANSI_X3.4-1968
Setting LESS to -ix8RmPm Manual page ls(1) ?ltline %lt?L/%L.:byte %bB?s/%s..?e (END):?pB %pB\%.. (press h for help or q to quit)$PM Manual page ls(1) ?ltline %lt?L/%L.:byte %bB?s/%s..?e (END):?pB %pB\%.. (press h for help or q to quit)$
Setting MAN_PN to ls(1) ++priv_drop_count = 1 --priv_drop_count = 0 hashtable_free: 1 entries, 1 (100%) unique
Found 1 man pages ++priv_drop_count = 1 hashtable_free: 4 entries, 4 (100%) unique [bash-4.2] #