Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 141988 - anaconda should query for proxy
Summary: anaconda should query for proxy
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: anaconda
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Chris Lumens
QA Contact: Mike McLean
URL:
Whiteboard:
: 324801 (view as bug list)
Depends On: AnacondaProxy
Blocks: F10Target
TreeView+ depends on / blocked
 
Reported: 2004-12-06 16:29 UTC by Florian Effenberger
Modified: 2011-11-10 19:54 UTC (History)
10 users (show)

Fixed In Version:
Doc Type: Enhancement
Doc Text:
Clone Of:
Environment:
Last Closed: 2008-08-27 15:40:03 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Florian Effenberger 2004-12-06 16:29:40 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de-DE; rv:1.7.5)
Gecko/20041108 Firefox/1.0

Description of problem:
anaconda should query for proxy. If one is set, it could create the
file /etc/profile.d/proxy.sh with the following contents:

 #!/bin/bash
 declare -x ftp_proxy="http://proxy.domain:Port"
 declare -x http_proxy="http://proxy.domain:Port"
 declare -x https_proxy="http://proxy.domain:Port"

(or alternatively, something via /etc/sysconfig)

Version-Release number of selected component (if applicable):


How reproducible:
Always

Steps to Reproduce:
N/A

Additional info:

Comment 1 Chris Lumens 2005-04-19 19:19:33 UTC
The desktop has a network proxy configuration tool to set these things.

Comment 2 Nils Philippsen 2007-01-08 13:42:39 UTC
I've reopened that bug because there is discussion about getting anaconda
proxy-enabled (and thus asking for the proxy servers/passwords/etc.) in bug
#125917. Once that is resolved, anaconda should set the GConf system defaults
(keys beneath /system/proxy) from the proxy information it already got from the
user. Bonus points for {http,https,ftp}_proxy environment variables being set
for "legacy" aka command line applications.

Having to provide this information twice or (even worse) more (if every user has
to configure this) is just nonsense.

Comment 3 Chris Lumens 2007-10-09 13:52:38 UTC
*** Bug 324801 has been marked as a duplicate of this bug. ***

Comment 4 Mark Heslep 2007-11-30 21:59:25 UTC
Any progress or more consideration of this?  Currently additional repos can not
be  accessed behind network proxies, ruling out the especially nice ability to
catch the huge number of updates at install time.  I submitted an anaconda
updates patch (some related bug report, cant find it) a release or two ago -
only required a few lines of python to to at least take a proxy string from a
command line key.  The patch of course is broken now w/ current anaconda releases.

Comment 5 Mark Heslep 2007-12-03 19:29:58 UTC
Ping?

Comment 6 Florian Effenberger 2007-12-03 19:38:10 UTC
Have not tested so far, don't run Fedora at the moment

Comment 7 Chris Lumens 2007-12-03 19:48:39 UTC
This is something I am looking at adding support for as part of the rework of
install method code for F9.  Currently it looks like we will be able to support
proxies for downloading packages, but probably not for grabbing the stage2
image.  If you are booting off a CD and installing from a website, this will
work just fine for you.

Comment 8 Mark Heslep 2007-12-03 21:27:42 UTC
That makes sense and yes it would work for me.  My particular case is a PXE grab
of stage 1 & 2 inside the firewall and then of course the want to pull the
updates through the proxy at install time.  I vainly imagine that many of the
enterprise folks would have similar setups.

I note though that this bug, or at least its ancestors, is circa F6. Must it
wait for F9? 

Comment 9 Mark Heslep 2007-12-10 20:47:17 UTC
Anyone care to comment on their favorite work around du jour for proxy support,
in lieu of the fix?

Comment 10 Mark Heslep 2007-12-10 20:55:52 UTC
Also, recommend
https://bugzilla.redhat.com/show_bug.cgi?id=125917 assigned to David Cantrell
and
https://bugzilla.redhat.com/show_bug.cgi?id=213109  assigned to Peter Jones
which are all filed against Anaconda be combined with this report. Who is the
real honcho on Anaconda these days?

Comment 11 Mark Heslep 2007-12-10 21:23:07 UTC
Also, recommend
https://bugzilla.redhat.com/show_bug.cgi?id=125917 assigned to David Cantrell
and
https://bugzilla.redhat.com/show_bug.cgi?id=213109  assigned to Peter Jones
which are all filed against Anaconda be combined with this report. Who is the
real honcho on Anaconda these days?

Comment 12 Chris Lumens 2007-12-10 21:27:10 UTC
We don't issue anaconda updates for released versions of Fedora, so it will have
to wait to make its official appearance in F9.  That doesn't mean work will
start post-F9, but that it will be in rawhide in the lead up to F9.  I've been
thinking about how to do this from a UI perspective, since it appears to be
pretty simple to enable in the backend.  Hopefully I will have something working
fairly soon.

Comment 13 Chris Lumens 2008-02-08 21:07:30 UTC
There's now code to do this in F9 Alpha, at least in the graphical installer. 
You won't be able to get the stage2 image via proxy, but once you get into
selecting your packages you can modify the base repo and set up a proxy.  Can
someone please give this a test and see how well it works for them?  Thanks.

Comment 14 Jeffrey C. Ollie 2008-02-28 17:48:28 UTC
What's the reason that the stage2 image can't be downloaded via the proxy?  Is
it just a matter of 'round tuits' or is there something else getting in the way?

Comment 15 Chris Lumens 2008-02-28 22:48:41 UTC
There's no code in the loader for handling HTTP proxies.  It could certainly be
added by someone with sufficient motivation, knowledge of HTTP, and free time
though.  I don't think it should be too terribly difficult.

Comment 16 Jon Stanley 2008-05-10 05:27:20 UTC
Adding to F10Target for stage2 retrieval via proxy.

Reporter - note, however. that the new boot.iso/netinst.iso contains stage2 on
them, so the need for this is lessened - the only boot method by which you don't
get stage2 for free is via PXE now (admittedly probably the environment in which
this would be most valuable).

Comment 17 Chris Lumens 2008-05-13 18:15:45 UTC
The likelihood of adding support for grabbing the stage2 image through a proxy
is pretty small unless we can find a nice lightweight library for fetching files
from a URL that also supports proxies.  I don't think anyone in anaconda land
has time for F10 to come up with proxy code on their own.

Of course, patches to anaconda-devel-list are always welcome too.

Comment 18 Mark Heslep 2008-05-13 19:05:24 UTC
My hope for adding this proxy capability was to get access to updates and other
repos out on the net _in_ stage 2 package installs.  That capability is still
not available in Fedora 9 which I have just loaded. The proxy seems to only give
access to stage images.

Comment 19 Chris Lumens 2008-05-29 22:20:26 UTC
In F9, you can select the base repo and enable a proxy on it.  The way this
works is as follows:

- On the task selection screen (the screen that lets you pick
Office/Server/Etc.) you should see a list of repos at the bottom.  One is
checked by default, and this one can't be unchecked.  It's the one you set up
when you answered the installation method question in the loader.  Highlight
that one and click "edit".
- The bottom half of the edit dialog has a proxy checkbox and then some entry
fields.  Check the box, fill it in, and click OK.

This should then mean that we'll use a proxy for fetching all files (including
the packages, which is the biggest part) from that repository.  Does this not work?

The screen in the loader really just needs to die, and probably will this time
around.

Comment 20 dfinken 2009-10-12 10:16:16 UTC
Hello

Fedora-11-i386-netinst.iso
anaconda 11.5.0.59

It would be better to ask for the proxy settings after the network settings.
Now we only get the Proxy settings mask/window if we disable DHCP and enter only a IP address and leave the Gateway and DNS empty.

I only come to select the packeges to be installed, but after that I get "Versuche Download erneut ..." and nothing happens.

A cancel button is missing too.

Comment 21 Felipe Contreras 2011-11-10 19:08:44 UTC
Please reopen this, it is not working.

On Fedora 16, after being asked about the network connection, the NetworkManager dialog hangs for minutes, after a while, I get a notification that the repotree wasn't being found (of course, the proxy hasn't been configured).

The proxy has to be configured *before* any network checks, otherwise it's useless.

Comment 22 Chris Lumens 2011-11-10 19:12:37 UTC
Please open a new bug describing your new problem.

Comment 23 Felipe Contreras 2011-11-10 19:54:08 UTC
(In reply to comment #22)
> Please open a new bug describing your new problem.

Ok. Bug #752940.


Note You need to log in before you can comment on or make changes to this bug.