Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 7 Nov 1998 01:40:32 -0800 (PST)
From:      marcs@znep.com
To:        FreeBSD-gnats-submit@FreeBSD.ORG
Subject:   conf/8587: login.conf should not set manpath
Message-ID:  <199811070940.BAA18272@alive.znep.com>

next in thread | raw e-mail | index | archive | help

>Number:         8587
>Category:       conf
>Synopsis:       login.conf should not set manpath
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:
>Keywords:
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Nov  7 01:50:00 PST 1998
>Last-Modified:
>Originator:     Marc Slemko
>Organization:
>Release:        FreeBSD 3.0-CURRENT i386
>Environment:

FreeBSD alive.znep.com 3.0-CURRENT FreeBSD 3.0-CURRENT #0: Fri Nov  6 23:10:01 PST 1998     marcs@alive.znep.com:/usr/src/sys/compile/ALIVE  i386

Appears to have been around for a long time, possibly even before 
login.conf.

>Description:

login.conf sets a manpath.  The default manpath doesn't include
/usr/X11R6/man, so things don't work right.  I shouldn't have to mess
with activating a special class just for X users, etc.

>How-To-Repeat:

marcs@alive:~$ echo $MANPATH
/usr/share/man:/usr/local/man
marcs@alive:~$ man xrdb
No manual entry for xrdb
marcs@alive:~$ unset MANPATH
marcs@alive:~$ man xrdb 
(now it works right)

>Fix:
	
Remove the manpath setting from /etc/login.conf.  Then man will use
the manpath program to figure out the manpath, which actually uses
the manpath.config file, etc.  Let manpath do its job.
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199811070940.BAA18272>