Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Dec 2000 22:19:09 -0800 (PST)
From:      jonathan@graehl.org
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   misc/23539: make installworld from nfs mounted /usr/src and /usr/obj requires write access
Message-ID:  <200012140619.eBE6J9728197@freefall.freebsd.org>
Resent-Message-ID: <200012140620.eBE6K3728372@freefall.freebsd.org>

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

>Number:         23539
>Category:       misc
>Synopsis:       make installworld from nfs mounted /usr/src and /usr/obj requires write access
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Dec 13 22:20:03 PST 2000
>Closed-Date:
>Last-Modified:
>Originator:     Jonathan Graehl
>Release:        4.2-STABLE
>Organization:
Jagoo
>Environment:
FreeBSD proxy.celltrans.net. 4.2-STABLE FreeBSD 4.2-STABLE #0: Wed Dec 13 20:57:24 PST 2000     root@proxy.celltrans.net.:/usr/obj/usr/src/sys/JAGOO  i386
>Description:
make installworld attempts to rm -rf libsdbm.a in perl in, i believe, the /usr/obj directory.
>How-To-Repeat:
on master:
make buildworld and in /etc/export
/usr/src /usr/obj -ro -mapall=nobody

on slave:
mount master:/usr/src /usr/src
mount master:/usr/obj /usr/obj
cd /usr/src
make installworld
>Fix:
kluge:
In master /etc/export
/usr/src /usr/obj -maproot=0:0 slave_machine_address

real fix:
change the separation of buildworld/installworld so that buildworld performs ALL writes necessary to the /usr/src and /usr/obj tree, and installworld performs ONLY reads from /usr/src and /usr/obj.  perhaps don't attempt to delete built objects; instead, modify makefiles so unwanted objects are never built




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


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




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