Subject: pkg/23086: pkgsrc on Solaris bootstrap fails if symlink exists
To: None <gnats-bugs@gnats.NetBSD.org>
From: None <hal@vailsys.com>
List: netbsd-bugs
Date: 10/07/2003 20:20:32
>Number:         23086
>Category:       pkg
>Synopsis:       pkgsrc on Solaris bootstrap fails if symlink exists
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Oct 07 20:21:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator:     Hal Snyder
>Release:        i386 solaris 8
>Organization:
Vail Systems
>Environment:
SunOS ddsvws04.vail 5.8 Generic_108529-18 i86pc i386 i86pc
>Description:
1. mkdir /u1/usr.pkg
2. ln -s /u1/usr.pkg /usr/pkg
3. cvs co othersrc/bootstrap-pkgsrc
4. co othersrc/bootstrap-pkgsrc
5. ./bootstrap
=>
===> bootstrap command: ./bootstrap 
===> bootstrap started: Tue Oct  7 14:33:01 CDT 2003
===> Creating sample mk.conf
===> running: /bin/mkdir -p /usr/pkg /var/db/pkg /usr/pkg/sbin
mkdir: "/usr/pkg": Exists but is not a directory
===> exited with status 2
aborted.

>How-To-Repeat:
as above
>Fix:
don't mkdir if directory exists, or something
>Release-Note:
>Audit-Trail:
>Unformatted: