Subject: install/8913: 1.4.1 mini-root install cannot find sets on local filesystem
To: None <gnats-bugs@gnats.netbsd.org>
From: None <eric@cirr.com>
List: netbsd-bugs
Date: 11/28/1999 17:48:44
>Number:         8913
>Category:       install
>Synopsis:       1.4.1 mini-root install cannot find sets on local filesystem
>Confidential:   yes
>Severity:       serious
>Priority:       medium
>Responsible:    install-manager (NetBSD system installation bug manager)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Nov 28 17:48:00 1999
>Last-Modified:
>Originator:     Eric Schnoebelen
>Organization:
Central Iowa (Model) Railroad
>Release:        1.4.1
>Environment:
	
System: NetBSD argonaut.cirr.com 1.3.3 NetBSD 1.3.3 (GENERIC) #0: Mon Dec 14 08:11:28 MET 1998 pk@flambard:/usr/src/sys/arch/sparc/compile/GENERIC sparc


>Description:
	The upgrade script for NetBSD/sparc on the miniroot cannot
	find the upgrade sets on a local mounted filesystem.  

	The shell function `dir_has_sets()' appears not to find
	the sets in the filesystem, and the calling function,
	`get_localdir()' doesn't provide a useful error message
	when the directory selected doens't contain a useful
	directory path in the error message.

	`get_localdir()' uses the variable `local_sets_dir' in the error
	message, but the variable isn't defined in the error condition
	in which it is used.

>How-To-Repeat:
	Attempt to upgrade with the sets on a local filesystem, and get
	the path to the sets wrong.

>Fix:
	change the use of `$local_sets_dir' to `$_dir' in the error
	case (when `dir_has_sets()' fails) of the `get_localdir()'.
>Audit-Trail:
>Unformatted: