Red Hat Bugzilla – Bug 1379619
[rfe]inform which proxy is used when the http_proxy environment variable is defined and proxy is configured in tool config
Last modified: 2018-04-10 14:45:09 EDT
Description of problem: If the http_proxy environment variable is defined in system, redhat-support-tool will ignore proxy setting in /etc/redhat-support-tool.conf Version-Release number of selected component (if applicable): redhat-support-tool-0.9.7-6.el7.noarch How reproducible: 100% Steps to Reproduce: 1. define proxy as environmental variable 2. define different proxy in /etc/redhat-support-tool.conf 3. Actual results: proxy from global variable is taken with no info which proxy is used Expected results: warning message about used proxy Additional info:
Hi Stefan, How about always showing an Info message whenever http_proxy environment variable is set and being used by redhat-support-tool instead of just showing it when proxy_url is also set in redhat-support-tool.conf . IMHO its a better user experience rather than just showing it when http_proxy overrides proxy_url defined in configuration file. The message might look like : Info : Using proxy_url as defined in http_proxy environment variable: http://PROXY_SERVER:PORT Please let me know your thoughts on the same.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2018:1002