Subject: install/7839: sysinst doesn't use absolute path for ftp
To: None <gnats-bugs@gnats.netbsd.org>
From: None <david@fundy.net>
List: netbsd-bugs
Date: 06/23/1999 07:35:58
>Number:         7839
>Category:       install
>Synopsis:       sysinst doesn't use absolute path when ftping.
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    install-manager (NetBSD system installation bug manager)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Jun 23 07:35:01 1999
>Last-Modified:
>Originator:     David Maxwell
>Organization:
	
>Release:        1.4
>Environment:
	
i386, 1.4, sysinst

>Description:
	
If you select ftp as the method to get your sets for install,
and you select a local server with the sets, where the directory with
the sets is an absolute path, sysinst will drop the leading / when
it tries to cd to that dir, and fail.

>How-To-Repeat:
	
copy sets to /usr/sets/*.tgz on 'host' machine
run sysinst on new machine
select ftp for set retrieval
select 'host' machine as host
enter a user and password, for a user with a homedir in /home/something
enter /usr/sets for the directory
get

ftp will fail with 'usr/sets no such directory'

>Fix:
	
Fix sysinst to not drop leading /s.

>Audit-Trail:
>Unformatted: