Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 24 Jun 2001 06:19:15 -0400 (EDT)
From:      ahd@kew.com
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   misc/28384: make installworld fails from r/o /usr/obj
Message-ID:  <20010624101915.042731553D@kendra.ne.mediaone.net>

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

>Number:         28384
>Category:       misc
>Synopsis:       make installworld fails from R/O /usr/obj
>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:   Sun Jun 24 08:00:09 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Drew Derbyshire
>Release:        FreeBSD 4.3-RELEASE i386
>Organization:
>Environment:
System: FreeBSD sonata.hh.kew.com 4.3-RELEASE FreeBSD 4.3-RELEASE #1: Thu Jun 21 13:59:44 EDT 2001 ahd@sonata.hh.kew.com:/usr/src/sys/compile/SONATA i386

Mounted file systems from mount -p:

	/dev/da0s2a	/	ufs rw	1 1
	/dev/da1s2a	/da1root	ufs rw	1 1
	mfs:11	/tmp	mfs rw,async	0 0
	procfs	/proc	procfs rw	0 0
	/dev/vinum/usr	/usr	ufs rw	2 2
	/dev/vinum/export	/usr/export	ufs rw	2 2
	/dev/vinum/var	/var	ufs rw	2 2
	minerva:/usr/scratch/obj	/usr/obj	nfs ro	0 0
	minerva:/usr/src	/usr/src	nfs ro	0 0

>Description:

Install of FreeBSD 4.3 fails well into the install because /usr/obj is R/O.  I would expect R/W not to be required on an install, or if it was, to be checked before partially updating the system.

Here's a sample of the failure mode:


	.
	.
	.
Appending installation info to /usr/libdata/perl/5.00503/mach/perllocal.pod
===> gnu/usr.bin/perl/library/SDBM_File
cd /usr/obj/usr/src/gnu/usr.bin/perl/library/SDBM_File/ext/SDBM_File ; make -B install  INSTALLPRIVLIB=/usr/libdata/perl/5.00503  INSTALLARCHLIB=/usr/libdata/perl/5.00503/mach
cd sdbm && make all
rm -rf libsdbm.a
rm: libsdbm.a: Read-only file system
*** Error code 1

Stop in /usr/obj/usr/src/gnu/usr.bin/perl/library/SDBM_File/ext/SDBM_File/sdbm.
*** Error code 1

Stop in /usr/obj/usr/src/gnu/usr.bin/perl/library/SDBM_File/ext/SDBM_File.
*** Error code 1

Stop in /usr/src/gnu/usr.bin/perl/library/SDBM_File.
*** Error code 1

Stop in /usr/src/gnu/usr.bin/perl/library.
*** Error code 1

Stop in /usr/src/gnu/usr.bin/perl.
*** Error code 1

Stop in /usr/src/gnu/usr.bin.
*** Error code 1

Stop in /usr/src/gnu.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.
# 


>How-To-Repeat:
	make installworld with R/O /usr/obj 
>Fix:

	Workaround is, of course, to allow R/W access to /usr/obj as root.
>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?20010624101915.042731553D>