Bug 1010956 - rhn-proxy-activate during activation/reactivation doesn't obtain all possible options from up2date/rhn.conf
Summary: rhn-proxy-activate during activation/reactivation doesn't obtain all possible...
Keywords:
Status: CLOSED DEFERRED
Alias: None
Product: Red Hat Satellite Proxy 5
Classification: Red Hat
Component: Installer
Version: 560
Hardware: Unspecified
OS: Unspecified
low
low
Target Milestone: ---
Assignee: Tomáš Kašpárek
QA Contact: Red Hat Satellite QA List
URL:
Whiteboard:
Depends On: 979038
Blocks: 462714
TreeView+ depends on / blocked
 
Reported: 2013-09-23 11:30 UTC by Lukas Pramuk
Modified: 2018-04-09 10:40 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of: 979038
Environment:
Last Closed: 2018-04-09 10:40:41 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Comment 1 Lukas Pramuk 2013-09-23 11:48:32 UTC
Description of problem:
rhn-proxy-activate does not obtain ALL POSSIBLE options from rhn.conf like
proxy.ca_chain, proxy.http_proxy, proxy.http_proxy_username, proxy.http_proxy_password, proxy.use_ssl


Actual results:
Currently only 'proxy.rhn_parent' is parsed as --server

Expected results:
The other possible options are parsed too.

Additional info:
more proper string is 'default is _now_' than 'default is' to indicate that the default value is changeble. 

e.g 
# grep use_ssl /etc/rhn/rhn.conf
proxy.use_ssl = 1
# rhnpush --help
...
--no-ssl              turn off SSL (not advisable), default is _now_ on.
...

Comment 3 Lukas Pramuk 2013-09-23 12:24:38 UTC
Expected results(addition):

rhn-proxy-activate should honour options from rhn.conf above ones from up2date if /etc/rhn.rhn.conf is present (i.e. during reactivation)

Comment 4 Lukas Pramuk 2013-09-23 12:42:06 UTC
/etc/rhn.rhn.conf not present -> parse up2date for options
      -//-            present -> parse rhn.conf for options

Comment 5 Lukas Pramuk 2013-09-23 13:35:43 UTC
I'm sceptical whether the parsing of up2date is needed at all.

- up2date file is parsed by configure-proxy.sh install script anyway and rhn-proxy-activate is run within using parsed options. No need for rhn-proxy-activate to parse up2date options itself. 

- during reactivation only rhn.conf file matters, it shouldn't mess things with up2date.

Comment 6 Tomas Lestach 2018-04-09 10:40:41 UTC
We have re-reviewed this bug, as part of an ongoing effort to improve Satellite/Proxy feature and bug updates, review and backlog.

This is a low priority bug and has no currently open customer cases. While this bug may still valid, we do not see it being implemented prior to the EOL of the Satellite 5.x product. As such, this is being CLOSED DEFERRED. 

Closing now to help set customer expectations as early as possible. You are welcome to re-open this bug if needed.


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