NetBSD Problem Report #8913

Received: (qmail 19526 invoked from network); 29 Nov 1999 01:47:12 -0000
Message-Id: <199911280456.WAA00702@argonaut.cirr.com>
Date: Sat, 27 Nov 1999 22:56:01 -0600 (CST)
From: eric@cirr.com
Reply-To: eric@cirr.com
To: gnats-bugs@gnats.netbsd.org
Subject: 1.4.1 mini-root install cannot find sets on local filesystem
X-Send-Pr-Version: 3.95

>Number:         8913
>Category:       install
>Synopsis:       1.4.1 mini-root install cannot find sets on local filesystem
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    install-manager
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Nov 28 17:48:00 +0000 1999
>Closed-Date:    Fri Feb 04 14:52:37 +0000 2000
>Last-Modified:  Fri Feb 04 15:31:50 +0000 2000
>Originator:     Eric Schnoebelen
>Release:        1.4.1
>Organization:
Central Iowa (Model) Railroad
>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()'.
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: pk 
State-Changed-When: Fri Feb 4 06:52:37 PST 2000 
State-Changed-Why:  
Error message corrected; 
patch submitted for inclusion in 1.4.2 
>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.