<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Michael Schwendt wrote:
<blockquote cite="mid:20080710172128.eab7816e.mschwendt@gmail.com"
 type="cite">
  <meta http-equiv="Content-Type" content="text/html; ">
  <meta name="Generator"
 content="MS Exchange Server version 6.0.6619.12">
  <title>Re: F9: Man pages missing/broken?</title>
<!-- Converted from text/plain format -->
  <p><font size="2">On Thu, 10 Jul 2008 07:16:21 -0700, Dan Thurman
wrote:</font>
  </p>
  <p><font size="2">> > What do you get for "strace man -k grub"
and "strace man man"?</font>
  </p>
  <p><font size="2">> It appears that the alliance package has
messed up the man pages?  </font>
  </p>
  <p><font size="2">That cannot be concluded, since you only showed the
strace for the command</font>
  <br>
  <font size="2">that works for you. The alliance pkg altered the
linker's search path,</font>
  <br>
  <font size="2">unrelated to your problem.</font>
  </p>
  <p><font size="2">> Clearly there</font>
  <br>
  <font size="2">> is an alliance directory with it's man pages but
perhaps they are using </font>
  <br>
  <font size="2">> a directory</font>
  <br>
  <font size="2">> path with a missing /man sibdirectory?  I will
look into this further to </font>
  <br>
  <font size="2">> see where</font>
  <br>
  <font size="2">> or why the /usr/lib/alliance directory is defined
in the man search path.</font>
  </p>
  <p><font size="2">Examine your environment variables after logging
in. grep for "MAN"</font>
  <br>
  <font size="2">as it could be that $MANPATH or $MANSECT or others are
different than</font>
  <br>
  <font size="2">what is found in /etc/man.config -- that would
override man.config</font>
  <br>
  <font size="2">with non-working values.</font>
  </p>
  <p><font size="2">"man -k" is same as "apropos" and fetches info from
the whatis db,</font>
  <br>
  <font size="2">a path that is built-in and different from $MANPATH.</font>
  </p>
</blockquote>
Ok, as a test, I reinstalled Alliance and when I log in<br>
as su - or su -l, I noticed that:<br>
<br>
# env | grep MAN<br>
MANPATH=/usr/lib/alliance/man<br>
<br>
So where does this happen?  I looked into root's $HOME and found<br>
no place where that entry is installed.  I looked at /etc/man.config and<br>
saw nothing added there.  Where does this get installed?<br>
<br>
I also did:<br>
# MANPATH=<br>
<br>
then did:<br>
man man<br>
<br>
and it worked.<br>
<br>
So why does Alliance insist on forcing MANPATH on users like that?<br>
<br>
Really odd.<br>
<br>
Dan<br>
<br>
<br>
</body>
</html>