Bug 206941 - rhn_register proxy settings are not copied accross to yum
rhn_register proxy settings are not copied accross to yum
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: rhn-client-tools (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Bryan Kearney
Red Hat Satellite QA List
Depends On: 208852 210956 210963 210966 210975 211862
  Show dependency treegraph
Reported: 2006-09-18 07:12 EDT by David Ash
Modified: 2013-01-10 03:55 EST (History)
2 users (show)

See Also:
Fixed In Version: 5.0.0
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2006-11-13 10:22:45 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description David Ash 2006-09-18 07:12:34 EDT
Description of problem:
Setting proxy settings in rhn_register (which updates /etc/sysconfig/rhn/up2date
with proxy settings), is not copied accross to /etc/yum.conf.

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

How reproducible:

Steps to Reproduce:
1. Run rhn_register and set proxy settings
2. Look in yum.conf and proxy settings are not set
Actual results:

Expected results:
My expectation is that yum.conf should be modified to reflect proxy settings in
rhn_register process.

Additional info:
Comment 2 RHEL Product and Program Management 2006-09-21 18:24:48 EDT
This request was evaluated by Red Hat Product Management for inclusion in a Red
Hat Enterprise Linux release.  Product Management has requested further review
of this request by Red Hat Engineering.  This request is not yet committed for
inclusion in release.
Comment 5 James Bowes 2006-10-18 16:20:56 EDT
(In reply to comment #4)
> IMO the proxy config settings should stay in /etc/sysconfig/rhn/up2date, since
> they're used by other RHN tools.
> Furthermore, I don't think it would be correct to alter the proxy behaviour for
> all yum repos. We only want to use these proxy settings with RHN. This would be
> consistant with how up2date worked.

So how yum + rhn works with proxies now (after modifiing for this bug) is at run
time we read the up2date config file, and if there is a proxy configured, then
we will use that for RHN yum repos, and only the RHN repos.
Comment 6 Roman Lazarev 2006-10-19 10:03:08 EDT
This blocker corresponds to release criteria 19c5: yum connects through
authenticated/unauthenticated http proxy from client to RHN
Comment 9 James Bowes 2006-10-24 16:58:49 EDT
This should be fixed as of yum-rhn-plugin-0.1.9-3
Comment 10 Beth Nackashi 2006-10-31 14:02:40 EST
*yum from client through RHN proxy through http proxy to RHN works
*yum from client through http proxy to RHN works

The proxy settings from /etc/sysconfig/rhn/up2date are used; no proxy settings
are in /etc/yum.conf.
Comment 11 Jay Turner 2006-11-13 10:22:45 EST
Closing as the fixes are included in the latest RHEL5 trees (20061111.0)

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