Bug 17371

Summary: sysinstall's mediaSetHTTP does not work under local nameserver
Product: Base System Reporter: haruhiko.nishida <haruhiko.nishida>
Component: binAssignee: Murray Stokely <murray>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Unspecified   
Hardware: Any   
OS: Any   

Description haruhiko.nishida 2000-03-14 09:40:01 UTC
install from FTP server through http proxy faied if the local nameserver could not resolve the ftp server.

Inside firewall, there is no need to resolve (outer world's) ftp server's address. It will be done by proxy server.

Fix: 

In media.c, mediaSetHTTP calls mediaSetFTP, and mediaSetFTP allways calls gethostbyname for ftp server. Don't execute gethostbyname when mediaSetFTP was called from mediaSetHTTP.
How-To-Repeat: use local nameserver which does not know ftp server's address, and try install.
Comment 1 Murray Stokely freebsd_committer freebsd_triage 2000-04-06 21:53:55 UTC
Responsible Changed
From-To: freebsd-bugs->murray

I'll take a look at this along with some other minor sysinstall bugs that I've run into. 
Comment 2 Murray Stokely freebsd_committer freebsd_triage 2000-07-18 00:35:24 UTC
State Changed
From-To: open->closed

Fixes commited to RELENG_[45]