[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#410878: d-i uses mirror/http/proxy setting when it (probably) shouldn't



Package: debian-installer
Version: 20061102

I'm trying to use d-i to netboot a system and run a preseeded install,
with the preseed config being loaded via http.  The configuration of
my network is such that I have to use an http proxy to reach Debian
mirrors, so I have a mirror/http/proxy setting; however, that proxy is
configured so that it should only be used to reach URLs outside of my
network -- for locations inside the network, it returns a 502 error.

I am also using a preseed/run setting to ask d-i to fetch a script to
run during installation; however, /lib/preseed/fetch-methods/http
has the code:

        # use the proxy for wgets (should speed things up)
        if db_get mirror/http/proxy; then
                export http_proxy="$RET"
        fi

which means that d-i tries to use the proxy to fetch the preseed/run
script as well, which fails (with a http 502 error).

It seems that the mirror/http/proxy setting should really only be used
to get things from mirrors, or at least some way should be provided to
say when to use the proxy and when not to.

This is happening with a daily d-i build from 2007-02-13.



Reply to: