NetBSD Problem Report #7839
Received: (qmail 4999 invoked from network); 23 Jun 1999 14:34:05 -0000
Message-Id: <199906231411.LAA01007@lab.fundy.ca>
Date: Wed, 23 Jun 1999 11:11:07 -0300 (ADT)
From: david@fundy.net
Reply-To: david@fundy.net
To: gnats-bugs@gnats.netbsd.org
Subject: sysinst doesn't use absolute path for ftp
X-Send-Pr-Version: 3.95
>Number: 7839
>Category: install
>Synopsis: sysinst doesn't use absolute path when ftping.
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: cgd
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed Jun 23 07:35:01 +0000 1999
>Closed-Date: Sun Oct 31 06:51:17 +0000 1999
>Last-Modified: Sun Oct 31 06:51:53 +0000 1999
>Originator: David Maxwell
>Release: 1.4
>Organization:
>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.
>Release-Note:
>Audit-Trail:
From: David Maxwell <david@fundy.ca>
To: gnats-bugs@gnats.netbsd.org, install-manager@netbsd.org
Cc: david@fundy.net
Subject: Re: install/7839: sysinst doesn't use absolute path for ftp
Date: Wed, 23 Jun 1999 11:52:37 -0300
On Wed, Jun 23, 1999 at 02:35:01PM -0000, gnats-bugs@gnats.netbsd.org wrote:
> Thank you very much for your problem report.
> It has the internal identification `install/7839'.
> The individual assigned to look at your
> bug is: install-manager (NetBSD system installation bug manager).
>
> >Category: install
> >Responsible: install-manager (NetBSD system installation bug manager)
> >Synopsis: sysinst doesn't use absolute path when ftping.
> >Arrival-Date: Wed Jun 23 07:35:01 1999
It's not sysinst, sortof. ftp is stripping the leading / as part of
and RFC regarding URL formatting. However, since the user doesn't
know that the text they enter will be URL formatted, it's reasonable
for them to expect the behaviour to match that of ftping by hand.
Probably sysinst should replace a leading / in the specified directory
name with /%2F to force ftp to use the absolute path.
David Maxwell, david@vex.net|david@maxwell.net -->
From: David Maxwell <david@fundy.ca>
To: gnats-bugs@netbsd.org
Cc: Subject: install/7839
Date: Wed, 23 Jun 1999 12:57:36 -0300
Oops. Fold this in with install/7520
--
David Maxwell, david@vex.net|david@maxwell.net -->
(About an Amiga rendering landscapes) It's not thinking, it's being artistic!
- Jamie Woods
From: cgd@netbsd.org (Chris G. Demetriou)
To: david@fundy.net
Cc: gnats-bugs@gnats.netbsd.org, netbsd-bugs@netbsd.org
Subject: Re: install/7839: sysinst doesn't use absolute path for ftp
Date: 23 Jun 1999 09:03:04 -0700
david@fundy.net writes:
> Fix sysinst to not drop leading /s.
Actually, it's not _quite_ that easy, but it's not too much harder,
either.
FWIW, this problem was also detailed in PRs 7186 and 7520.
I fixed it the other day in -current, and it should be fixed in 1.4.1
as well (when that happens).
The boot floppy I gave you yesterday should indeed include the fix.
You might try it and see if it solves the problem to your satisfaction.
cgd
--
Chris Demetriou - cgd@netbsd.org - http://www.netbsd.org/People/Pages/cgd.html
Disclaimer: Not speaking for NetBSD, just expressing my own opinion.
State-Changed-From-To: open->feedback
State-Changed-By: cgd
State-Changed-When: Wed Jun 23 09:08:06 PDT 1999
State-Changed-Why:
should already be fixed; see above.
Responsible-Changed-From-To: install-manager->cgd
Responsible-Changed-By: cgd
Responsible-Changed-When: Wed Jun 23 09:08:06 PDT 1999
Responsible-Changed-Why:
see above.
From: cgd@netbsd.org (Chris G. Demetriou)
To: gnats-bugs@netbsd.org
Cc: Subject: re: install/7839
Date: 06 Sep 1999 18:02:57 -0700
The issues raised in this PR should be addressed in NetBSD 1.4.1's
sysinst. if you could verify that they have been resolved to your
satisfaction, and reply to this message (cc'ing gnats-bugs@netbsd.org
so that the PR gets a copy, please!), the PR can be closed.
thanks,
cgd
--
Chris Demetriou - cgd@netbsd.org - http://www.netbsd.org/People/Pages/cgd.html
Disclaimer: Not speaking for NetBSD, just expressing my own opinion.
State-Changed-From-To: feedback->closed
State-Changed-By: cgd
State-Changed-When: Sat Oct 30 23:51:17 PDT 1999
State-Changed-Why:
these problems were addressed in 1.4.1, and despite notice of that
an monthly reminders about the PR, no confirmation of the fix
was sent to the PR. it's now closed.
>Unformatted:
(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.