[prev in list] [next in list] [prev in thread] [next in thread] 

List:       opensuse-autoinstall
Subject:    autoyast fails with HTTP virtual hosts
From:       Rajiv Aaron Manglani <rajiv () angstrom ! com>
Date:       2004-05-25 16:08:52
Message-ID: 40B36F89.40702 () angstrom ! com
[Download RAW message or body]

i believe that there is a bug in autoyast when installing via an http 
server. yast does not properly support the 'Host' http header. because 
of this you cannot install from an http server that is setup with 
virtual hosts.

the examples below show public suse mirrors, however i found this 
problem while trying to use our own in-house mirror. how to replicate 
the problem:

boot the 9.0 install cd. pass 
"install=http://ftp.oregonstate.edu/suse/x86_64/9.0" to the kernel. the 
install ramdisk (/boot/root) is downloaded just fine. but then X starts 
and yast runs. yast then tries to get the list of software groups. it 
sends to the server:

    GET /x86_64/9.0/media.1/products HTTP/1.1
    Host: 128.193.0.3
    Pragma: no-cache
    Accept: [edited]

notice the 'Host' field. it should read:

    Host: ftp.oregonstate.edu

because yast sends the ip address and not the proper host name, the http 
request returns a 404 (not found) and the install fails.

the install does work, however, if you use a server that does not host 
multiple virtual hosts (such as mirror.mcs.anl.gov or 
ftp-linux.cc.gatech.edu).

i reported this via the suse 'feedback' form. is there a suse bugzilla 
or other tracking database to follow this issue?

thanks



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic