Bug 149276

Summary: RFE: 'rpm --import' does not honor $*_proxy variables
Product: [Fedora] Fedora Reporter: Enrico Scholz <rh-bugzilla>
Component: rpmAssignee: Panu Matilainen <pmatilai>
Status: CLOSED UPSTREAM QA Contact: Mike McLean <mikem>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: marius.andreiana, nobody+pnasrat
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2007-09-12 11:29:37 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Enrico Scholz 2005-02-21 21:22:08 UTC
Description of problem:


| # set
| http_proxy=http://www-cache:3128/
| no_proxy=ultra.csn.tu-chemnitz.de
|
| # strace rpm --import 0x53ACA43A
| ...
| connect(3, {sa_family=AF_INET, sin_port=htons(11371), sin_addr=inet_addr("18.7.14.139")}, 16) = 0
|                                               ~~~~~                      ~~~~~~~~~~~~~

When the $*_proxy variables are set, 'rpm' (like any other http aware
application) should honor it.


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

rpm-4.4.1-2

Comment 1 Jeff Johnson 2005-02-21 21:38:22 UTC
Yep, the proxy support in rpm ain't been looked at seriously
since 1999. There is much that needs doing to make rpm
more network useful.

Comment 2 Marius Andreiana 2005-07-01 12:37:49 UTC
Confirming this bug in FC4


Comment 3 Red Hat Bugzilla 2007-08-21 05:19:44 UTC
User pnasrat's account has been closed

Comment 4 Panu Matilainen 2007-08-22 06:30:08 UTC
Reassigning to owner after bugzilla made a mess, sorry about the noise...

Comment 5 Panu Matilainen 2007-09-12 11:29:37 UTC
rpm.org upstream uses a helper (curl or similar) to operate on url's, so
http_proxy etc get honored if the helper does.