Bug 113223

Summary: fetching release notes failed when proxy specified in network setup
Product: [openSUSE] SUSE LINUX 10.0 Reporter: michel munnix <michel.munnix>
Component: InstallationAssignee: Lukas Ocilka <locilka>
Status: RESOLVED FIXED QA Contact: Klaus Kämpf <kkaempf>
Severity: Normal    
Priority: P5 - None CC: lslezak, mvidner, yast2-maintainers
Version: Beta 2   
Target Milestone: ---   
Hardware: i686   
OS: All   
Whiteboard:
Found By: Other Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: requested logs

Description michel munnix 2005-08-26 07:45:00 UTC
got an error 400 from firewall/proxy when fetching the release notes.
The URL was accessible from an other workstation in the same network.
details in logs show that no -x option is given to curl command used to fetch
the release notes.
The same problem occured when checking for updates.
Comment 1 Arvin Schnell 2005-08-26 07:51:58 UTC
The proxy settings are passed via the environment.

Please provide YaST2 logs, see:
http://www.opensuse.org/index.php/Bug_Reporting_FAQ#YaST
Comment 2 michel munnix 2005-08-26 09:31:02 UTC
Created attachment 47729 [details]
requested logs
Comment 3 Martin Vidner 2005-08-27 09:55:06 UTC
Lukas, proxy is yours.

BTW, when first testing the proxy settings, it says (y2log-1:2455) "Le réseau
n'est pas accessible." (Network unreachable). I guess that is because the
network settings have not been applied yet. But that should not be related to
the primary problem.
Comment 4 Lukas Ocilka 2005-08-27 18:37:13 UTC
I'm afraid, proxy it isn't my :)
I only did the [Test proxy] button (feature) that's all....
On the other hand, we could discuss that on Monday.
Comment 5 michel munnix 2005-08-29 06:33:38 UTC
The "Le réseau n'est pas accessible." was due to the fact that I didn't enter
the proxy port number 3128 the 1rst time. After correction, it should have worked.
Comment 6 Arvin Schnell 2005-08-30 10:02:10 UTC
Lukas, please take care of this.
Comment 7 Lukas Ocilka 2005-08-31 08:53:35 UTC
Andreas: It seems that curl fetching the release notes in installation doesn't
use the PROXY settings, can I fix it for SL 10.0? YOU works with them.
Comment 8 Andreas Jaeger 2005-08-31 08:59:21 UTC
Yes, go ahead.
Comment 9 Lukas Ocilka 2005-08-31 10:42:46 UTC
Lslezak: Your help is needed, please.

Fetching the release notes is done by curl running in .background.run. That's
because it could take a lot of time (for intance for time-out) and user must be
able to abort that. So that's also why .target.bash is not called.

How can we force .background agent to accept prefedined ENV variables? For
instance proxy settings?
Comment 10 Lukas Ocilka 2005-08-31 10:49:48 UTC
OK, I have a simple solution for this case. But .background agent should be
enhanced for the next version.
Comment 11 Lukas Ocilka 2005-09-01 08:50:19 UTC
Fixed in SVN, sent to the autobuild.