zypper does not consider NO_PROXY variable

This document (000019675) is provided subject to the disclaimer at the end of this document.

Environment

SUSE Linux Enterprise Server 15 SP1

Situation

The domains defined with the variable NO_PROXY in /etc/sysconfig/proxy are not being accepted as domains.

For example:
PROXY_ENABLED = "yes"
NO_PROXY = "localhost, 127.0.0.1, admin.sused.com , suse.com"
The values suse.com and admin.sused.com are not considered to be domains. The hosts with domains suse.com and admin.sused.com continue to access the proxy.

Resolution

To allow "noproxy" access to the hosts with domains suse.com or admin.sused.com, the configuration in /etc/sysconfig/proxy must be changed to:

PROXY_ENABLED = "yes"
NO_PROXY = "localhost, 127.0.0.1, .admin.sused.com , .suse.com"

Domains set in the NO_PROXY variable must start with a leading  "." , otherwise they are not accepted as domains.

Cause

Libproxy is not able to evaluate the NO_PROXY setting without leading dots.

Status

Reported to Engineering

Disclaimer

This Support Knowledgebase provides a valuable tool for SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.

  • Document ID:000019675
  • Creation Date: 05-Aug-2020
  • Modified Date:05-Aug-2020
    • SUSE Linux Enterprise Server

< Back to Support Search

For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback@suse.com

SUSE Support Forums

Get your questions answered by experienced Sys Ops or interact with other SUSE community experts.

Join Our Community

Support Resources

Learn how to get the most from the technical support you receive with your SUSE Subscription, Premium Support, Academic Program, or Partner Program.


SUSE Customer Support Quick Reference Guide SUSE Technical Support Handbook Update Advisories
Support FAQ

Open an Incident

Open an incident with SUSE Technical Support, manage your subscriptions, download patches, or manage user access.

Go to Customer Center