Bug 20843

Summary: 4.1-R: install crashes when ftp-ing via HTTP proxy
Product: Base System Reporter: Emmanuel.Duros <Emmanuel.Duros>
Component: miscAssignee: Murray Stokely <murray>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: 4.1-RELEASE   
Hardware: Any   
OS: Any   

Description Emmanuel.Duros 2000-08-25 18:00:01 UTC
I was very glad to see that I could now install FreeBSD behind a firewall
through a HTTP proxy. Following correctly the procedure to install 4.1-R,
after specifying the http proxy + port, the installation simply hangs.

The following messages appears in the windows where there is the ftp
site look up: "Fatal error: Null name or value passed to st_variable2! 
- PRESS ANY KEY TO REBOOT". 

FYI, I am pretty sure of the values IP values I set previously because 
I can ping the station until I press a key...

How-To-Repeat: After loading the boot disks, go throught the menu:
custom install
disk space: all
label: default
distribution: kernel developper
media: http: ftp server through http proxy
ftp url:  ftp.lip6.fr
interface fxp0
no ipv6 / no dhcp
manual config of IP values (press ok)
Right after the following windows appears:
looking up host ftp.lip6.fr with the msg "Fatal error..."

Hope this helps
Comment 1 Sheldon Hearn freebsd_committer freebsd_triage 2000-08-28 11:23:27 UTC
Responsible Changed
From-To: freebsd-bugs->murray

Over to the maintainer.
Comment 2 Murray Stokely freebsd_committer freebsd_triage 2000-08-30 23:22:33 UTC
State Changed
From-To: open->analyzed

A patch that will yield more diagnostic information has been sent to 
the originator.  I think I see where the problem lies but I don't have 
an HTTP proxy to test on.
Comment 3 Hajimu UMEMOTO freebsd_committer freebsd_triage 2000-08-31 06:58:26 UTC
I believe this was fixed by release/sysinstall/media.c
1.109 -> 1.111
Comment 4 Philipp Mergenthaler 2000-09-13 10:39:37 UTC
Yes, this is fixed by version 1.110 of sysinstall/media.c
There's also a workaround: As medium select normal FTP.  This will fail
and sysinstall will offer to change the medium.  Now select "3b - via
HTTP proxy" and it will work.

However, since sysinstall in 4.1-RELEASE also can't handle a proxy
address which includes a port number (fixed in 1.111) I'd advise
against using it for this type of installation.

I'd suggest to add something like the following to the errata for 4.1:

Installing via an HTTP proxy is broken.

Fix:
	Use the installation floppies for 4.0-RELEASE and, in the main
	menu, go to "Options" and change the Release Name from 4.0-RELEASE
	to 4.1-RELEASE.  Apart from that the installation will run normally.
Comment 5 Murray Stokely freebsd_committer freebsd_triage 2000-10-04 09:36:00 UTC
State Changed
From-To: analyzed->closed


This problem has been fixed.