How to remove the 'System Not Registered' notification from GNOME and Subscription-Manager Cockpit?

Solution Verified - Updated -

Environment

  • Red Hat Enterprise Linux 8
  • Red Hat Enterprise Linux 9
  • Red Hat Subscription Manager (RHSM)

Issue

  • Multiple places in the GNOME shows System Not Registered notification.

GNOME Popup:
alt text

About Notification:
alt text

RHSM Cockpit Notification:
alt text

  • How to get rid of the System Not Registered notification from GNOME?
  • We still get the popup System Not Registered asking to register on an offline RHEL system that is registered using an Offline Method.

Resolution

  • Red Hat does not recommend disabling the System Not Registered notification.
  1. For RHEL 9 systems:

    • The following file needs to be edited: /lib/systemd/user/org.gnome.SettingsDaemon.Subscription.service
    • Comment out the line ExecStart=/usr/libexec/gsd-subman as shown below:

      # cat /lib/systemd/user/org.gnome.SettingsDaemon.Subscription.service |grep -i gsd-subman
        #ExecStart=/usr/libexec/gsd-subman
      
    • Remove the subscription-manager-cockpit package to disable RHSM cockpit UI notification:

      # yum remove subscription-manager-cockpit
      
  2. For RHEL 8 systems:

    • The following file needs to be edited: /etc/xdg/autostart/org.gnome.SettingsDaemon.Subscription.desktop
    • Comment out the line Exec=/usr/libexec/gsd-subman as shown below:

      # cat /etc/xdg/autostart/org.gnome.SettingsDaemon.Subscription.desktop |grep -i gsd-subman
        #Exec=/usr/libexec/gsd-subman
      
    • Remove the subscription-manager-cockpit package to disable RHSM cockpit UI notification:

      # yum remove subscription-manager-cockpit
      
  • Reboot the system to apply the changes.

  • Note: The above changes may be reverted if the gnome-settings-daemon and subscription-managerpackages are updated on the system .

Root Cause

  • In RHEL 9 systems, the System Not Registered notification is managed by the GNOME Subscription Management service which is triggered by the file /lib/systemd/user/org.gnome.SettingsDaemon.Subscription.service.

  • In RHEL 8 systems, the System Not Registered notification is managed by the GNOME Subscription Management service which is triggered by the file /etc/xdg/autostart/org.gnome.SettingsDaemon.Subscription.desktop.

  • The Subscription-Manager Cockpit UI is provided by the subscription-manager-cockpit package.

Diagnostic Steps

  • Install RHEL 8 or RHEL 9, login to GNOME session without registering the system OR register it using Offline Method and login to GNOME session, the following notification is shown:

    System Not Registered
        Please register your system to receive software updates
    
  • Login to GNOME session, Click on Activities and Search About, the following message is displayed:

    System Not Registered
    
  • Login to GNOME session, Click on Activities and Search subscription-manager cockpit, the following message is displayed.at different places in GNOME :

    subscription status  Not Registered
    

This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.

3 Comments

RHEL8 example says comment out "ExecStart=" but the example given is "Exec="

We have purchased RHEL licenses. We have tried our best to register the system and auto-attach a license using subscription-manager. It works: we have access to RHEL repositories. But in such a situation, it is still extremely confusing that the state of the system be marked as 'Not registered'

Thank you for the solution. Regarding the RHEL9 org.gnome.SettingsDaemon.Subscription.service, couldn't we just mask the service like this:

# systemctl --global mask org.gnome.SettingsDaemon.Subscription.service
Created symlink /etc/systemd/user/org.gnome.SettingsDaemon.Subscription.service → /dev/null.