8
I get the following error when i am listing the updates.Server is currently registered with ULN. Although its a warning, i do not want the below message displayed when i am issuing yum command.i found out subscription-manager plugin is loaded. How to disable subscription-manager plugin??
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.
  improve this question   

3 Answers

17
two solutions
  1. in the plugin configuration file disable plugin
    vim /etc/yum/pluginconf.d/subscription-manager.conf
    enabled=0
  2. or register to the satellite
  improve this answer   
  • does it work for RHEL 7.5 running on AWS ec2-instance as # subscription-manager register --auto-attach Registering to: subscription.rhsm.redhat.com:443/subscription Username: ashxxxxxx@abc.com Password: ashxxxxxx@abc.com cannot register with any organizations. – Ashish Karpe Jul 17 '18 at 11:44
6
At least in my case, RHEL 7.6, /etc/yum/pluginconf.d/subscription-manager.conf already had enabled=0.
/etc/yum/pluginconf.d/enabled_repos_upload.conf however, had enabled=1, and changing that to enabled=0 prevented the warning.