NetBSD Problem Report #7638

Received: (qmail 5344 invoked from network); 24 May 1999 16:20:28 -0000
Message-Id: <199905241820.LAA23637@nimh.warthog.com>
Date: Mon, 24 May 1999 11:20:30 -0700 (PDT)
From: windsor@warthog.com
Reply-To: windsor@warthog.com
To: gnats-bugs@gnats.netbsd.org
Subject: xsrc still uses bin:bin and /usr/pkg/bin should be in path
X-Send-Pr-Version: 3.95

>Number:         7638
>Category:       xsrc
>Synopsis:       xsrc still uses bin:bin and /usr/pkg/bin should be in path
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    xsrc-manager
>State:          closed
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Mon May 24 09:35:00 +0000 1999
>Closed-Date:    Fri Mar 10 19:39:46 +0000 2000
>Last-Modified:  Fri Mar 10 19:40:42 +0000 2000
>Originator:     Rob Windsor
>Release:        1.4
>Organization:
Nose Pickers Anonymous
>Environment:
System: NetBSD nimh 1.4 NetBSD 1.4 (NIMH) #10: Sun May 16 22:35:02 PDT 1999 windsor@nimh:/usr/src/sys/arch/i386/compile/NIMH i386


>Description:
	It would appear that we are dropping bin:bin, and it would be
	nice if xsrc were consistent with that.

	Also, we should add /usr/pkg/bin to DefaultUserPath and /usr/pkg/sbin
	to DefaultSystemPath.

>How-To-Repeat:
	ls -l /usr/X11R6/bin /usr/bin
>Fix:
	Patch xsrc/xc/config/cf/NetBSD.cf as follows:
--- NetBSD.cf~	Sat May 22 12:37:03 1999
+++ NetBSD.cf	Mon May 24 11:12:09 1999
@@ -352,17 +352,17 @@
 #define StripInstalledPrograms	YES
 #define CompressAllFonts	YES
 #define GzipFontCompression	YES
-#define DefaultUserPath		/bin:/usr/bin:/usr/local/bin:$(BINDIR)
-#define DefaultSystemPath	/sbin:/usr/sbin:/bin:/usr/bin:$(BINDIR)
+#define DefaultUserPath		/bin:/usr/bin:/usr/local/bin:/usr/pkg/bin:$(BINDIR)
+#define DefaultSystemPath	/sbin:/usr/sbin:/bin:/usr/bin:/usr/pkg/sbin:$(BINDIR)

-#define InstPgmFlags		-s -m 0555 -o bin -g bin
-#define InstBinFlags		-m 0555 -o bin -g bin
-#define InstUidFlags		-m 4511 -o root -g bin
-#define InstLibFlags		-m 0444 -o bin -g bin
-#define InstIncFlags		-m 0444 -o bin -g bin
-#define InstManFlags		-m 0444 -o bin -g bin
-#define InstDatFlags		-m 0444 -o bin -g bin
-#define InstKmemFlags		-m 2555 -o bin -g kmem
+#define InstPgmFlags		-s -m 0555 -o root -g wheel
+#define InstBinFlags		-m 0555 -o root -g wheel
+#define InstUidFlags		-m 4511 -o root -g wheel
+#define InstLibFlags		-m 0444 -o root -g wheel
+#define InstIncFlags		-m 0444 -o root -g wheel
+#define InstManFlags		-m 0444 -o root -g wheel
+#define InstDatFlags		-m 0444 -o root -g wheel
+#define InstKmemFlags		-m 2555 -o root -g kmem

 #ifdef  InstallCmd
 # undef  InstallCmd
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->feedback 
State-Changed-By: jwise 
State-Changed-When: Mon May 24 10:43:40 PDT 1999 
State-Changed-Why:  
State changed to `feedback' while changes NetBSD.cf 1.54 - 1.55 and 1.55 - 1.56 
are checked to see if they adequately solve this PR. 

From: "Erik E. Fair" <fair@clock.org>
To: windsor@warthog.com
Cc: gnats-bugs@gnats.netbsd.org
Subject: Re: xsrc/7638: xsrc still uses bin:bin and /usr/pkg/bin should be
 in path
Date: Mon, 24 May 1999 10:50:30 -0700

 For NetBSD, that X11 config file with the #defines in it should probably
 just pull in <paths.h> and reference _PATH_DEFPATH.

 	Erik <fair@clock.org>
State-Changed-From-To: feedback->closed 
State-Changed-By: windsor 
State-Changed-When: Fri Mar 10 11:39:46 PST 2000 
State-Changed-Why:  
Work was done, Looks like Harvard Eidnes did it for me 
>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.