Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Sep 2001 10:11:21 -0700 (PDT)
From:      Michael Wayne <wayne@staff.msen.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/30874: Change ports system to note installs outside of /usr/ports
Message-ID:  <200109271711.f8RHBLK67833@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         30874
>Category:       ports
>Synopsis:       Change ports system to note installs outside of /usr/ports
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Sep 27 10:20:01 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Michael Wayne
>Release:        4.3 RELEASE -p19
>Organization:
Msen, Inc.
>Environment:
FreeBSD dns3.msen.com 4.3-RELEASE-p19 FreeBSD 4.3-RELEASE-p19 #2: Tue Sep 11 17:23:02 EDT 2001 root@stats2.msen.com:/usr/obj/usr/src/sys/GENERICkbd i386
>Description:
When building a port, make install writes files, including work/.install_done
into the /usr/prots tree.  As make install is normally run by root, this
means that companies trying to NFS mount a single copy of/usr/ports are 
required to mount it write enabled AND -maproot=root.
Also, it is not intuitive that one must do make reinstall on a new machine
to circumvent the ports system.
>How-To-Repeat:
NFS mount /usr/ports read only and try to make install
>Fix:
Move the files read/written by make install and make reinstall 
from the ports work directory to /var/db/pkg/<PORT NAME>.

>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200109271711.f8RHBLK67833>