From owner-freebsd-bugs Wed Dec 13 22:20: 8 2000 From owner-freebsd-bugs@FreeBSD.ORG Wed Dec 13 22:20:03 2000 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 798A837B698 for ; Wed, 13 Dec 2000 22:20:03 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id eBE6K3728372; Wed, 13 Dec 2000 22:20:03 -0800 (PST) (envelope-from gnats) Resent-Date: Wed, 13 Dec 2000 22:20:03 -0800 (PST) Resent-Message-Id: <200012140620.eBE6K3728372@freefall.freebsd.org> Resent-From: gnats-admin@FreeBSD.org (GNATS Management) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: gnats-admin@FreeBSD.org, jonathan@graehl.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 5D57E37B400 for ; Wed, 13 Dec 2000 22:19:09 -0800 (PST) Received: (from nobody@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id eBE6J9728197; Wed, 13 Dec 2000 22:19:09 -0800 (PST) (envelope-from nobody) Message-Id: <200012140619.eBE6J9728197@freefall.freebsd.org> Date: Wed, 13 Dec 2000 22:19:09 -0800 (PST) From: jonathan@graehl.org Sender: nobody@FreeBSD.org To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-1.0 Subject: misc/23539: make installworld from nfs mounted /usr/src and /usr/obj requires write access Resent-Sender: gnats@FreeBSD.org Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >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