Unable to disable the subscription manager plugin for yum/dnf

Solution In Progress - Updated -

Issue

  • When we call dnf repolist we always get a message the server is not registered with the Satellite. As per our requirement, We are not expecting our installation to register with a satellite and we will need to disable the warning .
  • To do so we disable the subscription-manage plugin.
# cat  /etc/dnf/plugins/subscription-manager.conf
[main]
enabled=0

# When following option is set to 1, then all repositories defined outside redhat.repo will be disabled
# every time subscription-manager plugin is triggered by dnf or yum
disable_system_repos=0
  • This works, but this settings is autoenabled after sometime

Environment

  • Red Hat Enterprise Linux 8
  • Subscription Manager

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