Subject: xsrc/10211: rstartd(1) sets illegal MANPATH.
To: None <gnats-bugs@gnats.netbsd.org>
From: Takahiro Kambe <taca@sky.yamashina.kyoto.jp>
List: netbsd-bugs
Date: 05/28/2000 05:59:22
>Number: 10211
>Category: xsrc
>Synopsis: rstartd(1) sets illegal MANPATH.
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: xsrc-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sun May 28 06:00:01 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator: Takahiro Kambe
>Release: NetBSD-current 2000/5/27
>Organization:
>Environment:
System: NetBSD edge.sky.yamashina.kyoto.jp 1.4Z NetBSD 1.4Z (CF-M33-CARDBUS) #4: Sun May 28 21:14:28 JST 2000 taca@edge.sky.yamashina.kyoto.jp:/usr/src/sys/arch/i386/compile/CF-M33-CARDBUS i386
>Description:
rstartd(1) sets illegal MANPATH.
>How-To-Repeat:
Start xterm(1) with rstart(1).
>Fix:
In /usr/X11R6/lib/X11/rstart/contexts/x11r6 contains
MISC X MANPATH=/usr/X11R6/man:/usr/man
This is apparently wrong. MANPATH value is set in compile time,
but I don't know why that value has set.
For NetBSD, we don't need MANPATH environment default, so simply
removing the line solve the problem.
--- xsrc/xc/programs/rstart/contexts/x11r6.ORIG Fri Aug 22 18:38:17 1997
+++ xsrc/xc/programs/rstart/contexts/x11r6 Wed Apr 5 19:54:06 2000
@@ -22,7 +22,6 @@
# OF WHETHER IN AN ACTION IN CONTRACT, TORT OR NEGLIGENCE, ARISING OUT
# OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-MISC X MANPATH=_MANPATH
MISC POSIX PATH=_PATH
INTERNAL-AUTH-PROGRAM X11 xauth xauth
INTERNAL-AUTH-INPUT X11 add\040$1\040$2\040$3
>Release-Note:
>Audit-Trail:
>Unformatted: