From nobody@FreeBSD.org  Tue Mar 14 01:37:14 2000
Return-Path: <nobody@FreeBSD.org>
Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21])
	by hub.freebsd.org (Postfix) with ESMTP id 1160737B523
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 14 Mar 2000 01:37:14 -0800 (PST)
	(envelope-from nobody@FreeBSD.org)
Received: (from nobody@localhost)
	by freefall.freebsd.org (8.9.3/8.9.2) id BAA34989;
	Tue, 14 Mar 2000 01:37:13 -0800 (PST)
	(envelope-from nobody@FreeBSD.org)
Message-Id: <200003140937.BAA34989@freefall.freebsd.org>
Date: Tue, 14 Mar 2000 01:37:13 -0800 (PST)
From: haruhiko.nishida@ntt.com
Sender: nobody@FreeBSD.org
To: freebsd-gnats-submit@FreeBSD.org
Subject: sysinstall's mediaSetHTTP does not work under local nameserver
X-Send-Pr-Version: www-1.0

>Number:         17371
>Category:       bin
>Synopsis:       sysinstall's mediaSetHTTP does not work under local nameserver
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    murray
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Mar 14 01:40:01 PST 2000
>Closed-Date:    Mon Jul 17 16:35:24 PDT 2000
>Last-Modified:  Mon Jul 17 16:35:53 PDT 2000
>Originator:     Haruhiko Nishida
>Release:        4.0-20000214-CURRENT
>Organization:
NTT Communications
>Environment:
FreeBSD nishida-NT.mti.longdist.ntt.co.jp 4.0-20000214-CURRENT FreeBSD 4.0-200000214-CURRENT #0: Tue Feb 15 01:45:52 GMT 2000	root@monster.cdrom.com:/usr/src/sys/compile/GENERIC	i386
>Description:
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.
>How-To-Repeat:
use local nameserver which does not know ftp server's address, and try install.
>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.

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->murray 
Responsible-Changed-By: murray 
Responsible-Changed-When: Thu Apr 6 13:53:55 PDT 2000 
Responsible-Changed-Why:  
I'll take a look at this along with some other minor sysinstall bugs that I've run into. 
State-Changed-From-To: open->closed 
State-Changed-By: murray 
State-Changed-When: Mon Jul 17 16:35:24 PDT 2000 
State-Changed-Why:  
Fixes commited to RELENG_[45] 


http://www.freebsd.org/cgi/query-pr.cgi?pr=17371 
>Unformatted:
