Subject: install/9579: Source distribution sets are not consistently rooted
To: None <gnats-bugs@gnats.netbsd.org>
From: John Hawkinson <jhawk@mit.edu>
List: netbsd-bugs
Date: 03/08/2000 14:06:50
>Number:         9579
>Category:       install
>Synopsis:       Source distribution sets are not consistently rooted
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    install-manager (NetBSD system installation bug manager)
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Wed Mar  8 14:06:00 2000
>Last-Modified:
>Originator:     John Hawkinson
>Organization:
	MIT
>Release:        NetBSD 1.4.1
>Environment:
	
System: NetBSD zorkmid.mit.edu 1.4.1 NetBSD 1.4.1 (ZORKMID) #63: Wed Mar 8 04:52:39 EST 2000 jhawk@zorkmid.mit.edu:/usr/src/sys/arch/i386/compile/ZORKMID i386


>Description:
	The "xsrc.tgz" distribution set is not rooted relative to
	the root filesystem like the other source file distribution
	sets. Untarring it into / like all the other distribution
	sets causes it to write to /xsrc, which rapidly fills up
	the root partition if one has accepted sysinst's default
	partition sizing.

>How-To-Repeat:
	ftp to ftp.netbsd.org, and:

ftp> pwd
257 "/pub/NetBSD/NetBSD-1.4.1/source/sets" is the current directory.
ftp> get syssrc.tgz "|tar ztvf - |head"
local: |tar ztvf - |head remote: syssrc.tgz
227 Entering Passive Mode (204,152,184,75,232,252)
150 Opening BINARY mode data connection for 'syssrc.tgz' (14234946 bytes).
drwxrwxr-x root/wsrc         0 Aug 21 22:49 1999 usr/src/sys
drwxrwxr-x root/wsrc         0 Aug 21 22:49 1999 usr/src/sys/CVS
-rw-rw-r-- root/wsrc       411 Aug 21 22:49 1999 usr/src/sys/CVS/Entries
-rw-rw-r-- root/wsrc        20 Aug 21 22:23 1999 usr/src/sys/CVS/Repository
-rw-rw-r-- root/wsrc        24 Aug 21 22:23 1999 usr/src/sys/CVS/Root
-rw-rw-r-- root/wsrc        21 Aug 21 22:23 1999 usr/src/sys/CVS/Tag
-rw-rw-r-- root/wsrc       344 Mar 10 03:56 1999 usr/src/sys/Makefile
drwxrwxr-x root/wsrc         0 Aug 21 22:23 1999 usr/src/sys/adosfs
drwxrwxr-x root/wsrc         0 Aug 21 22:23 1999 usr/src/sys/adosfs/CVS
-rw-rw-r-- root/wsrc       394 Aug 21 22:23 1999 usr/src/sys/adosfs/CVS/Entries
Hangup
ftp> get xsrc.tgz "|tar ztvf - | head"
local: |tar ztvf - | head remote: xsrc.tgz
227 Entering Passive Mode (204,152,184,75,233,152)
150 Opening BINARY mode data connection for 'xsrc.tgz' (33421717 bytes).
drwxrwxr-x root/wsrc         0 Aug 21 23:13 1999 xsrc
drwxrwxr-x root/wsrc         0 Aug 22 01:04 1999 xsrc/CVS
-rw-rw-r-- root/wsrc        84 Aug 22 01:04 1999 xsrc/CVS/Entries
-rw-rw-r-- root/wsrc        14 Aug 21 23:13 1999 xsrc/CVS/Repository
-rw-rw-r-- root/wsrc        27 Aug 21 23:13 1999 xsrc/CVS/Root
-rw-rw-r-- root/wsrc        21 Aug 21 23:13 1999 xsrc/CVS/Tag
-rw-rw-r-- root/wsrc       858 May 23 20:05 1999 xsrc/Makefile
drwxrwxr-x root/wsrc         0 Aug 21 23:13 1999 xsrc/contrib
drwxrwxr-x root/wsrc         0 Aug 22 01:04 1999 xsrc/contrib/CVS
-rw-rw-r-- root/wsrc        81 Aug 22 01:04 1999 xsrc/contrib/CVS/Entries

>Fix:
	Re-root the xsrc tarball somewhere useful, like /usr/xsrc or
	/usr/src/xsrc.

>Audit-Trail:
>Unformatted: