Subject: pkg/26924: bootstrap: some additions to the Solaris Bootstrap Procedure
To: None <gnats-bugs@gnats.NetBSD.org>
From: None <ove@elektro-eel.org>
List: pkgsrc-bugs
Date: 09/12/2004 14:19:55
>Number:         26924
>Category:       pkg
>Synopsis:       bootstrap: some additions to the Solaris Bootstrap Procedure
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Sun Sep 12 14:20:00 UTC 2004
>Closed-Date:
>Last-Modified:
>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:
>Unformatted: