dnf ignores empty proxy parameter (no proxy) in /etc/dnf/dnf.conf

Solution Verified - Updated -

Issue

  • dnf doesn't honor empty proxy= parameter in /etc/dnf/dnf.conf when HTTPS_PROXY and HTTP_PROXY environment variables are set.

Environment

  • Red Hat Enterprise Linux 8
    • dnf
    • libcurl

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content