Cockpit subscriptions on CentOS 7 - This system is not registered with an entitlement server. You ca
Posted xuyaowen
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Cockpit subscriptions on CentOS 7 - This system is not registered with an entitlement server. You ca相关的知识,希望对你有一定的参考价值。
下午安装 cockpit 时,使用 yum 工具的时候哦,出现如下信息:
This system is not registered with an entitlement server. You can use subscription-manager to register.
尽管不影响centos 的使用,安装软件也没有任何的影响。但是也是想知道其中的原因;下面是在国外论坛上对于centos 的讨论。
问题:
Installing Cockpit on CentOS7 adds the following nag/notice - seen every time you use yum update etc.:
"This system is not registered with Subscription Management. You can use subscription-manager to register"
Removing the cockpit-subscriptions - breaks the web interface fuctionality - You can log in but then you get an error page.
Does anyone have a fix for this?
Obviously, this is designed for RHEL but, seems the CentOS package shouldn‘t have this "Feature".
答案1:
Unfortunately cockpit requires subscription-manager and that causes that message to be emitted by yum. However it is only an informational message, not an error and everything works just as it did.
答案2:
[main]
enabled=0
Thanks TrevorH
I could solve the problem by setting enabled=0 in [main] section of /etc/yum/pluginconf.d/enabled_repos_upload.conf configuration file:
[main] enabled=0 supress_debug=False supress_errors=False
参考链接:
https://www.centos.org/forums/viewtopic.php?t=62366
https://serverfault.com/questions/506148/is-subscription-manager-available-for-centos
保持更新,转载请注明出处。
以上是关于Cockpit subscriptions on CentOS 7 - This system is not registered with an entitlement server. You ca的主要内容,如果未能解决你的问题,请参考以下文章