Bug 120999 - 7.0-RC2-Installation via FTP fails, wrong path
Summary: 7.0-RC2-Installation via FTP fails, wrong path
Status: Closed FIXED
Alias: None
Product: Base System
Classification: Unclassified
Component: sparc64 (show other bugs)
Version: 6.3-RELEASE
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-sparc64 (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-02-23 16:40 UTC by michael
Modified: 2008-02-26 12:40 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description michael 2008-02-23 16:40:03 UTC
	
Installing via FTP doesn't work because installation still searches for files
in snapshot directory and not release.

I'm not sure if this affects other architectures as well.

Fix: 

Correct path in installer or move files back to snapshots directory (not a good
idea)
How-To-Repeat: 	
boot from 7.0-RC2-sparc64-bootonly.iso and try to install via ftp from
ftp://ftp.freebsd.org/pub/FreeBSD/releases/sparc64/7.0-RC2/
sysinstall searches for files in /pub/FreeBSD/snapshots/sparc64/7.0-RC2

The path can not be corrected in the options menu.
Comment 1 John Baldwin freebsd_committer freebsd_triage 2008-02-25 15:24:56 UTC
Are you sure?  sysinstall tries several different paths:

/* List of sub directories to look for under a given FTP server. */
const char *ftp_dirs[] = { ".", "releases/"MACHINE, "snapshots/"MACHINE,
    "pub/FreeBSD", "pub/FreeBSD/releases/"MACHINE,
    "pub/FreeBSD/snapshots/"MACHINE, NULL };

Also, this doesn't seem to be a sparc64-specific PR.

-- 
John Baldwin
Comment 2 michael 2008-02-26 08:00:18 UTC
John Baldwin wrote:
> On Saturday 23 February 2008 11:19:01 am Michael Fuckner wrote:
>>> Number:         120999
>>> Category:       sparc64
>>> Synopsis:       7.0-RC2-Installation via FTP fails, wrong path
>>> Confidential:   no
>>> Severity:       serious
>>> Priority:       low
>>> Responsible:    freebsd-sparc64
>>> State:          open
>>> Quarter:
>>> Keywords:
>>> Date-Required:
>>> Class:          sw-bug
>>> Submitter-Id:   current-users
>>> Arrival-Date:   Sat Feb 23 16:40:03 UTC 2008
>>> Closed-Date:
>>> Last-Modified:
>>> Originator:     Michael Fuckner
>>> Release:        FreeBSD 6.3-RELEASE amd64
>>> Organization:
>>> Environment:
>>>
>>> Description:
>> Installing via FTP doesn't work because installation still searches for
>> files in snapshot directory and not release.
>>
>> I'm not sure if this affects other architectures as well.
>>
>>> How-To-Repeat:
>> boot from 7.0-RC2-sparc64-bootonly.iso and try to install via ftp from
>> ftp://ftp.freebsd.org/pub/FreeBSD/releases/sparc64/7.0-RC2/
>> sysinstall searches for files in /pub/FreeBSD/snapshots/sparc64/7.0-RC2
>>
>> The path can not be corrected in the options menu.
>>
>>> Fix:
>> Correct path in installer or move files back to snapshots directory (not a
>> good idea)
> 
> Are you sure?  sysinstall tries several different paths:
> 
> /* List of sub directories to look for under a given FTP server. */
> const char *ftp_dirs[] = { ".", "releases/"MACHINE, "snapshots/"MACHINE,
>     "pub/FreeBSD", "pub/FreeBSD/releases/"MACHINE,
>     "pub/FreeBSD/snapshots/"MACHINE, NULL };
> 
> Also, this doesn't seem to be a sparc64-specific PR.

I rechecked: squid vs pf was my problem. Please close this PR.

Regards,
  Michael!
Comment 3 Marius Strobl freebsd_committer freebsd_triage 2008-02-26 12:36:37 UTC
State Changed
From-To: open->closed


Close; originator reports it was no FreeBSD problem.