NetBSD Problem Report #26924

Received: (qmail 17051 invoked by uid 605); 12 Sep 2004 14:19:57 -0000
Message-Id: <20040912141955.7813C251F9C@new-www.isc.netbsd.org>
Date: Sun, 12 Sep 2004 14:19:55 +0000 (UTC)
From: ove@elektro-eel.org
Sender: gnats-bugs-owner@NetBSD.org
Reply-To: ove@elektro-eel.org
To: gnats-bugs@gnats.NetBSD.org
Subject: bootstrap: some additions to the Solaris Bootstrap Procedure
X-Send-Pr-Version: www-1.0

>Number:         26924
>Category:       pkg
>Synopsis:       bootstrap: some additions to the Solaris Bootstrap Procedure
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    cjep
>State:          closed
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Sun Sep 12 14:20:00 +0000 2004
>Closed-Date:    Fri Nov 05 11:05:19 +0000 2004
>Last-Modified:  Fri Nov 05 11:05:19 +0000 2004
>Originator:     Ove Soerensen
>Release:        
>Organization:
>Environment:
>Description:
The pkgsrc-bootstrap procedure requires /usr/ucb/install, which is (at
least with Solaris 9) contained in the system-package SUNWscpu. Thus it
should be added to the list of required packages in README.solaris.
Furthermore the bootstrap-script itself requires /usr/ucb/id in it's
current form. This is also included in an optional package. A safer
way to to check for the uid in is_root() might be to grep for the string
'uid=0' in the output of a plain 'id' call in a similar way as it is
currently done on interix. This will work with the plain 'id' on a vanilla
Solaris install too.

>How-To-Repeat:

>Fix:

>Release-Note:
>Audit-Trail:

From: Chris Pinnock <cjep@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:  
Subject: pr/26924 CVS commit: pkgsrc/bootstrap
Date: Sun, 12 Sep 2004 15:54:46 +0000 (UTC)

 Module Name:	pkgsrc
 Committed By:	cjep
 Date:		Sun Sep 12 15:54:46 UTC 2004

 Modified Files:
 	pkgsrc/bootstrap: README.Solaris

 Log Message:
 We also need SUNWscpu (for /usr/ucb/install). Part of PR#26924


 To generate a diff of this commit:
 cvs rdiff -r1.3 -r1.4 pkgsrc/bootstrap/README.Solaris

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

State-Changed-From-To: open->analyzed 
State-Changed-By: cjep 
State-Changed-When: Sun Sep 12 15:57:23 UTC 2004 
State-Changed-Why:  

I've added the doc fix. Will look at the other part and test a bootstrap. 



Responsible-Changed-From-To: pkg-manager->cjep 
Responsible-Changed-By: cjep 
Responsible-Changed-When: Sun Sep 12 15:57:23 UTC 2004 
Responsible-Changed-Why:  

I'll take this. 
State-Changed-From-To: analyzed->feedback 
State-Changed-By: cjep 
State-Changed-When: Mon Sep 20 10:41:08 UTC 2004 
State-Changed-Why:  

Hello. /usr/xpg4/bin should get prepended to overpath. Thus /usr/xpg4/bin/id 
should be available which has this option. I see your point about this 
being an optional package. We also use other tools in /usr/xpg4 so perhaps 
the final fix for this PR is to add SUNWxcu4 to the list of prerequisites? 

This is what I'm going to do. 

Let me know if I can close the PR> 

Best wishes, 
Chris 

From: Chris Pinnock <cjep@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:  
Subject: pr/26924 CVS commit: pkgsrc/bootstrap
Date: Mon, 20 Sep 2004 10:43:57 +0000 (UTC)

 Module Name:	pkgsrc
 Committed By:	cjep
 Date:		Mon Sep 20 10:43:57 UTC 2004

 Modified Files:
 	pkgsrc/bootstrap: README.Solaris

 Log Message:
 Also need tools in /usr/xpg4/bin (such as id). PR#26924.


 To generate a diff of this commit:
 cvs rdiff -r1.4 -r1.5 pkgsrc/bootstrap/README.Solaris

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

State-Changed-From-To: feedback->closed 
State-Changed-By: cjep 
State-Changed-When: Fri Nov 5 11:04:47 UTC 2004 
State-Changed-Why:  

Feedback timeout. 

>Unformatted:
 >Quarter:        
 >Keywords:       
 >Date-Required:  

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.