How to Disable Red Hat Subscription Manager Plugin to Remove “System Not Registered” Warning


44 views

When working with RHEL systems using yum package manager, you might encounter this persistent warning:

Loaded plugins: downloadonly, product-id, rhnplugin, security, subscription-manager
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.

This occurs because Red Hat enables the subscription-manager plugin by default, even when your system is registered with alternative update services like ULN (Oracle's Unbreakable Linux Network).

There are two reliable methods to disable this warning:

Method 1: Permanent Disable via Configuration File

Edit the yum plugin configuration file:

sudo vi /etc/yum/pluginconf.d/subscription-manager.conf

Change the enabled parameter to 0:

[main]
enabled=0

Method 2: Temporary Disable via Command Line

For a single yum command execution without modifying configuration:

sudo yum --disableplugin=subscription-manager update

After making changes, verify the plugin is disabled by running:

sudo yum repolist

The warning message should no longer appear in the output.

If your system uses ULN, you might want to ensure the rhnplugin remains active while disabling subscription-manager. Check your current plugin configuration with:

sudo yum-config-manager --dump | grep -i plugin

Be aware that some Red Hat packages or updates might require subscription-manager for verification. If you encounter any issues with package installation after disabling the plugin, you can temporarily re-enable it for specific operations:

sudo yum --enableplugin=subscription-manager install package-name

When working with Red Hat Enterprise Linux systems, you might encounter this warning message during YUM operations:

Loaded plugins: downloadonly, product-id, rhnplugin, security, subscription-manager
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.

The message appears when your system has the subscription-manager plugin enabled but isn't registered with Red Hat's subscription service. This commonly occurs in two scenarios:

  • Systems registered with ULN (Unbreakable Linux Network) instead of Red Hat Subscription Management
  • Systems where registration isn't required (like development environments)

To permanently disable this warning, you need to disable the subscription-manager plugin. Here's how:

Method 1: Disable via Configuration File

Edit the YUM plugin configuration file:

sudo vi /etc/yum/pluginconf.d/subscription-manager.conf

Change the enabled parameter to 0:

[main]
enabled=0

Method 2: Temporary Disable for Current Session

If you want to disable it just for the current YUM operation:

sudo yum --disablerepo='*' --disableplugin='subscription-manager' [command]

After making changes, verify the plugin is disabled by running:

sudo yum repolist

The warning message should no longer appear in the output.

For systems registered with ULN, you might want to completely remove the subscription-manager package:

sudo yum remove subscription-manager
  • Disabling this plugin won't affect your ability to receive updates through ULN
  • If you later need to register with Red Hat Subscription Management, you'll need to re-enable the plugin
  • This change doesn't impact other YUM functionality or security updates