我正在使用 RHEL 8.2 系统,不想注册该系统,但我确实想停止收到这个烦人的通知。类似于这个问题几年前就提出了,除了虽然接受的解决方案适用于我的 rhel7.6 版本,但它不适用于 rhel8.2 版本。还尝试了 /etc/dnf/plugins/subscription-manager.conf 中的类似建议,但它也不起作用,并且 /etc/yum/pluginconf.d/enabled_repos_upload.conf 文件在我的系统中不存在。
对于 Red Hat 8 的更新有什么想法吗?
答案1
按照红帽支持:
Red Hat 不建议禁用“系统未注册”通知。
修改 GNOME Settings Daemon 订阅管理器插件启动文件。
$ /etc/xdg/autostart/org.gnome.SettingsDaemon.Subscription.desktop [Desktop Entry] Type=Application Name=GNOME Settings Daemon's subscription manager plugin Exec=/usr/libexec/gsd-subman OnlyShowIn=GNOME; NoDisplay=true X-GNOME-Autostart-enabled=false X-GNOME-Autostart-Phase=Initialization X-GNOME-Autostart-Notify=false X-GNOME-AutoRestart=false
重新启动系统。