RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1840364 - ERROR:dbus.proxies:Introspect error on :1.1185298:/EntitlementStatus: dbus.exceptions.DBusException
Summary: ERROR:dbus.proxies:Introspect error on :1.1185298:/EntitlementStatus: dbus.ex...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: subscription-manager
Version: 8.3
Hardware: Unspecified
OS: Unspecified
urgent
high
Target Milestone: rc
: 8.3
Assignee: Jiri Hnidek
QA Contact: Red Hat subscription-manager QE Team
URL:
Whiteboard:
Depends On:
Blocks: 1842946
TreeView+ depends on / blocked
 
Reported: 2020-05-26 19:21 UTC by John Sefler
Modified: 2020-11-04 01:39 UTC (History)
4 users (show)

Fixed In Version: subscription-manager-1.27.9-1
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-11-04 01:39:09 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github candlepin subscription-manager pull 2277 0 None closed 1840364: Kill rhsmd during post-install on rhel8; ENT-2449 2021-02-15 15:51:34 UTC
Red Hat Product Errata RHBA-2020:4460 0 None None None 2020-11-04 01:39:33 UTC

Description John Sefler 2020-05-26 19:21:06 UTC
Description of problem:

I suspect that with the removal of rhsmd from RHEL-8.3 with Bug 1775714 / ENT-1959 , an upgraded system neglects to inform the dbus.service leaving behind a situation whereby the service continues to attempt to run rhsmd, but because  /usr/libexec/rhsmd has been removed, a traceback is thrown.  I believe this issue will happen when a RHEL-8.2 system is upgraded to RHEL8.3.

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
Starting out with a RHEL8.2 system, I will show that subscription-manager registration is working and then upgrade subscription-manager and the demonstrate that registration will subsequently trace back...

[root@kvm-06-guest39 ~]# cat /etc/redhat-release 
Red Hat Enterprise Linux release 8.2 (Ootpa)
[root@kvm-06-guest39 ~]# subscription-manager version
server type: This system is currently not registered.
subscription management server: 2.9.27-1
subscription management rules: 5.37
subscription-manager: 1.26.16-1.el8
[root@kvm-06-guest39 ~]# 
[root@kvm-06-guest39 ~]# systemctl status dbus.service
● dbus.service - D-Bus System Message Bus
   Loaded: loaded (/usr/lib/systemd/system/dbus.service; static; vendor preset: disabled)
   Active: active (running) since Tue 2020-05-26 14:47:55 EDT; 16min ago
     Docs: man:dbus-daemon(1)
 Main PID: 17370 (dbus-daemon)
    Tasks: 3 (limit: 23960)
   Memory: 29.1M
   CGroup: /system.slice/dbus.service
           ├─17370 /usr/bin/dbus-daemon --system --address=systemd: --nofork --nopidfile --systemd-activation --syslog-only
           └─18026 /usr/libexec/platform-python /usr/libexec/rhsmd

May 26 14:47:55 kvm-06-guest39.hv2.lab.eng.bos.redhat.com dbus-daemon[17370]: [system] Successfully activated service 'org.freedesktop.PolicyKit1'
May 26 14:48:39 kvm-06-guest39.hv2.lab.eng.bos.redhat.com dbus-daemon[17370]: [system] Activating service name='com.redhat.SubscriptionManager' requested by ':1.5' (uid=0 pid=17532 comm="/usr/libexec/pla>
May 26 14:48:39 kvm-06-guest39.hv2.lab.eng.bos.redhat.com dbus-daemon[17535]: [system] Failed to reset fd limit before activating service: org.freedesktop.DBus.Error.AccessDenied: Failed to restore old f>
May 26 14:48:39 kvm-06-guest39.hv2.lab.eng.bos.redhat.com dbus-daemon[17370]: [system] Successfully activated service 'com.redhat.SubscriptionManager'
May 26 15:01:23 kvm-06-guest39.hv2.lab.eng.bos.redhat.com dbus-daemon[17370]: [system] Activating service name='com.redhat.SubscriptionManager' requested by ':1.10' (uid=0 pid=17983 comm="/usr/libexec/pl>
May 26 15:01:23 kvm-06-guest39.hv2.lab.eng.bos.redhat.com dbus-daemon[17986]: [system] Failed to reset fd limit before activating service: org.freedesktop.DBus.Error.AccessDenied: Failed to restore old f>
May 26 15:01:23 kvm-06-guest39.hv2.lab.eng.bos.redhat.com dbus-daemon[17370]: [system] Successfully activated service 'com.redhat.SubscriptionManager'
May 26 15:02:34 kvm-06-guest39.hv2.lab.eng.bos.redhat.com dbus-daemon[17370]: [system] Activating service name='com.redhat.SubscriptionManager' requested by ':1.14' (uid=0 pid=18023 comm="/usr/libexec/pl>
May 26 15:02:34 kvm-06-guest39.hv2.lab.eng.bos.redhat.com dbus-daemon[18026]: [system] Failed to reset fd limit before activating service: org.freedesktop.DBus.Error.AccessDenied: Failed to restore old f>
May 26 15:02:34 kvm-06-guest39.hv2.lab.eng.bos.redhat.com dbus-daemon[17370]: [system] Successfully activated service 'com.redhat.SubscriptionManager'
[root@kvm-06-guest39 ~]# 
[root@kvm-06-guest39 ~]# subscription-manager register --serverurl=subscription.rhsm.stage.redhat.com --username=stage_auto_testuser
Registering to: subscription.rhsm.stage.redhat.com:443/subscription
Password: 
The system has been registered with ID: 73728245-eeb0-4b89-9dd4-d883a03fa697
The registered system name is: kvm-06-guest39.hv2.lab.eng.bos.redhat.com
[root@kvm-06-guest39 ~]# 
[root@kvm-06-guest39 ~]# subscription-manager unregister
Unregistering from: subscription.rhsm.stage.redhat.com:443/subscription
System has been unregistered.
[root@kvm-06-guest39 ~]# 
[root@kvm-06-guest39 ~]# subscription-manager unregister
This system is currently not registered.
[root@kvm-06-guest39 ~]# 


Now upgrade subscription-manager (using a nightly RHEL8.3 beaker repo for the upgrade)

[root@kvm-06-guest39 ~]# yum update subscription-manager redhat-release
Updating Subscription Management repositories.
Unable to read consumer identity
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
Last metadata expiration check: 0:01:05 ago on Tue 26 May 2020 02:15:56 PM EDT.
Dependencies resolved.
==========================================================================================
 Package                                  Arch     Version          Repository       Size
==========================================================================================
Upgrading:
 dnf-plugin-subscription-manager          x86_64   1.27.4-1.el8     beaker-BaseOS   282 k
 python3-subscription-manager-rhsm        x86_64   1.27.4-1.el8     beaker-BaseOS   354 k
 redhat-release                           x86_64   8.3-0.0.el8      beaker-BaseOS    40 k
 subscription-manager                     x86_64   1.27.4-1.el8     beaker-BaseOS   1.1 M
 subscription-manager-rhsm-certificates   x86_64   1.27.4-1.el8     beaker-BaseOS   255 k

Transaction Summary
==========================================================================================
Upgrade  5 Packages

Total download size: 2.0 M
Is this ok [y/N]: y
Downloading Packages:
(1/5): redhat-release-8.3-0.0.el8.x86_64.rpm              7.2 MB/s |  40 kB     00:00    
(2/5): dnf-plugin-subscription-manager-1.27.4-1.el8.x86_6  30 MB/s | 282 kB     00:00    
(3/5): python3-subscription-manager-rhsm-1.27.4-1.el8.x86  30 MB/s | 354 kB     00:00    
(4/5): subscription-manager-rhsm-certificates-1.27.4-1.el  20 MB/s | 255 kB     00:00    
(5/5): subscription-manager-1.27.4-1.el8.x86_64.rpm        54 MB/s | 1.1 MB     00:00    
------------------------------------------------------------------------------------------
Total                                                      73 MB/s | 2.0 MB     00:00     
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Preparing        :                                                                  1/1 
  Running scriptlet: subscription-manager-rhsm-certificates-1.27.4-1.el8.x86_64       1/1 
  Upgrading        : subscription-manager-rhsm-certificates-1.27.4-1.el8.x86_64      1/10 
  Upgrading        : python3-subscription-manager-rhsm-1.27.4-1.el8.x86_64           2/10 
  Upgrading        : dnf-plugin-subscription-manager-1.27.4-1.el8.x86_64             3/10 
  Upgrading        : subscription-manager-1.27.4-1.el8.x86_64                        4/10 
  Running scriptlet: subscription-manager-1.27.4-1.el8.x86_64                        4/10 
  Upgrading        : redhat-release-8.3-0.0.el8.x86_64                               5/10 
  Cleanup          : redhat-release-8.2-1.0.el8.x86_64                               6/10 
  Running scriptlet: subscription-manager-1.26.16-1.el8.x86_64                       7/10 
  Cleanup          : subscription-manager-1.26.16-1.el8.x86_64                       7/10 
  Running scriptlet: subscription-manager-1.26.16-1.el8.x86_64                       7/10 
  Cleanup          : python3-subscription-manager-rhsm-1.26.16-1.el8.x86_64          8/10 
  Cleanup          : subscription-manager-rhsm-certificates-1.26.16-1.el8.x86_64     9/10 
  Cleanup          : dnf-plugin-subscription-manager-1.26.16-1.el8.x86_64           10/10 
  Running scriptlet: dnf-plugin-subscription-manager-1.26.16-1.el8.x86_64           10/10 
  Verifying        : dnf-plugin-subscription-manager-1.27.4-1.el8.x86_64             1/10 
  Verifying        : dnf-plugin-subscription-manager-1.26.16-1.el8.x86_64            2/10 
  Verifying        : python3-subscription-manager-rhsm-1.27.4-1.el8.x86_64           3/10 
  Verifying        : python3-subscription-manager-rhsm-1.26.16-1.el8.x86_64          4/10 
  Verifying        : redhat-release-8.3-0.0.el8.x86_64                               5/10 
  Verifying        : redhat-release-8.2-1.0.el8.x86_64                               6/10 
  Verifying        : subscription-manager-1.27.4-1.el8.x86_64                        7/10 
  Verifying        : subscription-manager-1.26.16-1.el8.x86_64                       8/10 
  Verifying        : subscription-manager-rhsm-certificates-1.27.4-1.el8.x86_64      9/10 
  Verifying        : subscription-manager-rhsm-certificates-1.26.16-1.el8.x86_64    10/10 
Installed products updated.

Upgraded:
  dnf-plugin-subscription-manager-1.27.4-1.el8.x86_64                                     
  python3-subscription-manager-rhsm-1.27.4-1.el8.x86_64                                   
  redhat-release-8.3-0.0.el8.x86_64                                                       
  subscription-manager-1.27.4-1.el8.x86_64                                                
  subscription-manager-rhsm-certificates-1.27.4-1.el8.x86_64                              

Complete!
[root@kvm-06-guest39 ~]# 

Now attempt to use subscription-manager to register and unregister....

[root@kvm-06-guest39 yum.repos.d]# subscription-manager register --serverurl=subscription.rhsm.stage.redhat.com --username=stage_auto_testuser
Registering to: subscription.rhsm.stage.redhat.com:443/subscription
Password: 
The system has been registered with ID: acd31e79-dbe9-4948-90aa-20206b9c412f
The registered system name is: kvm-06-guest39.hv2.lab.eng.bos.redhat.com
ERROR:dbus.proxies:Introspect error on :1.16:/EntitlementStatus: dbus.exceptions.DBusException: org.freedesktop.DBus.Error.AccessDenied: Rejected send message, 1 matched rules; type="method_call", sender=":1.19" (uid=0 pid=18257 comm="/usr/libexec/platform-python /usr/sbin/subscriptio" label="unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023") interface="org.freedesktop.DBus.Introspectable" member="Introspect" error name="(unset)" requested_reply="0" destination=":1.16" (uid=0 pid=18026 comm="/usr/libexec/platform-python /usr/libexec/rhsmd " label="system_u:system_r:rhsmcertd_t:s0-s0:c0.c1023")
ERROR:subscription_manager.dbus_interface:org.freedesktop.DBus.Error.AccessDenied: Rejected send message, 1 matched rules; type="method_call", sender=":1.19" (uid=0 pid=18257 comm="/usr/libexec/platform-python /usr/sbin/subscriptio" label="unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023") interface="com.redhat.SubscriptionManager.EntitlementStatus" member="update_status" error name="(unset)" requested_reply="0" destination=":1.16" (uid=0 pid=18026 comm="/usr/libexec/platform-python /usr/libexec/rhsmd " label="system_u:system_r:rhsmcertd_t:s0-s0:c0.c1023")
Traceback (most recent call last):
  File "/usr/lib64/python3.6/site-packages/subscription_manager/dbus_interface.py", line 64, in _update
    ignore_reply=self.has_main_loop)
  File "/usr/lib64/python3.6/site-packages/dbus/proxies.py", line 70, in __call__
    return self._proxy_method(*args, **keywords)
  File "/usr/lib64/python3.6/site-packages/dbus/proxies.py", line 145, in __call__
    **keywords)
  File "/usr/lib64/python3.6/site-packages/dbus/connection.py", line 651, in call_blocking
    message, timeout)
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.AccessDenied: Rejected send message, 1 matched rules; type="method_call", sender=":1.19" (uid=0 pid=18257 comm="/usr/libexec/platform-python /usr/sbin/subscriptio" label="unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023") interface="com.redhat.SubscriptionManager.EntitlementStatus" member="update_status" error name="(unset)" requested_reply="0" destination=":1.16" (uid=0 pid=18026 comm="/usr/libexec/platform-python /usr/libexec/rhsmd " label="system_u:system_r:rhsmcertd_t:s0-s0:c0.c1023")
[root@kvm-06-guest39 yum.repos.d]# 
[root@kvm-06-guest39 yum.repos.d]# systemctl status dbus.service
● dbus.service - D-Bus System Message Bus
   Loaded: loaded (/usr/lib/systemd/system/dbus.service; static; vendor preset: disabled)
   Active: active (running) since Tue 2020-05-26 14:47:55 EDT; 23min ago
     Docs: man:dbus-daemon(1)
 Main PID: 17370 (dbus-daemon)
    Tasks: 3 (limit: 23960)
   Memory: 29.5M
   CGroup: /system.slice/dbus.service
           ├─17370 /usr/bin/dbus-daemon --system --address=systemd: --nofork --nopidfile --systemd-activation --syslog-only
           └─18026 /usr/libexec/platform-python /usr/libexec/rhsmd

May 26 15:02:34 kvm-06-guest39.hv2.lab.eng.bos.redhat.com dbus-daemon[17370]: [system] Activating service name='com.redhat.SubscriptionManager' requested by ':1.14' (uid=0 pid=18023 comm="/usr/libexec/pl>
May 26 15:02:34 kvm-06-guest39.hv2.lab.eng.bos.redhat.com dbus-daemon[18026]: [system] Failed to reset fd limit before activating service: org.freedesktop.DBus.Error.AccessDenied: Failed to restore old f>
May 26 15:02:34 kvm-06-guest39.hv2.lab.eng.bos.redhat.com dbus-daemon[17370]: [system] Successfully activated service 'com.redhat.SubscriptionManager'
May 26 15:05:41 kvm-06-guest39.hv2.lab.eng.bos.redhat.com dbus-daemon[17370]: [system] Reloaded configuration
May 26 15:05:41 kvm-06-guest39.hv2.lab.eng.bos.redhat.com dbus-daemon[17370]: [system] Reloaded configuration
May 26 15:05:42 kvm-06-guest39.hv2.lab.eng.bos.redhat.com dbus-daemon[17370]: [system] Reloaded configuration
May 26 15:05:42 kvm-06-guest39.hv2.lab.eng.bos.redhat.com dbus-daemon[17370]: [system] Reloaded configuration
May 26 15:05:42 kvm-06-guest39.hv2.lab.eng.bos.redhat.com dbus-daemon[17370]: [system] Reloaded configuration
May 26 15:06:45 kvm-06-guest39.hv2.lab.eng.bos.redhat.com dbus-daemon[17370]: [system] Rejected send message, 1 matched rules; type="method_call", sender=":1.19" (uid=0 pid=18257 comm="/usr/libexec/platf>
May 26 15:07:02 kvm-06-guest39.hv2.lab.eng.bos.redhat.com dbus-daemon[17370]: [system] Rejected send message, 1 matched rules; type="method_call", sender=":1.19" (uid=0 pid=18257 comm="/usr/libexec/platf>
[root@kvm-06-guest39 ~]# 




Actual results:
Notice above that /usr/libexec/platform-python /usr/libexec/rhsmd is still running as pat of the dbus.service (prior to the upgrade)

Expected results:
I think that as part of the upgrade of subscription-manager, that /usr/libexec/rhsmd service should be killed as an immediate post-install task.


Additional info:

Comment 4 Jan Stavel 2020-07-02 16:26:48 UTC
I have verified, that it works in version  - ie. no rhsmd dbus service anymore. 
And no traceback appears after I register a system.


[root@kvm-08-guest16 ~]# rpm -qa | grep subscription
python3-subscription-manager-rhsm-1.27.9-1.git.0.189a976.el8.x86_64
dnf-plugin-subscription-manager-1.27.9-1.git.0.189a976.el8.x86_64
subscription-manager-rhsm-certificates-1.27.9-1.git.0.189a976.el8.x86_64
subscription-manager-1.27.9-1.git.0.189a976.el8.x86_64


root@kvm-08-guest16 ~]# systemctl status dbus.service
● dbus.service - D-Bus System Message Bus
   Loaded: loaded (/usr/lib/systemd/system/dbus.service; static; vendor preset: disabled)
   Active: active (running) since Thu 2020-07-02 13:43:26 EDT; 1h 19min left
     Docs: man:dbus-daemon(1)
 Main PID: 822 (dbus-daemon)
    Tasks: 2 (limit: 23960)
   Memory: 3.8M
   CGroup: /system.slice/dbus.service
           └─822 /usr/bin/dbus-daemon --system --address=systemd: --nofork --nopidfile --systemd-activation --syslog-only

Jul 02 12:16:02 kvm-08-guest16.hv2.lab.eng.bos.redhat.com dbus-daemon[19351]: [system] Failed to reset fd limit before activating service: org.freedesktop.DBus.Error.AccessDenied: Failed to restore old fd limit: Operation n>
Jul 02 12:16:02 kvm-08-guest16.hv2.lab.eng.bos.redhat.com dbus-daemon[822]: [system] Successfully activated service 'com.redhat.SubscriptionManager'
Jul 02 12:16:06 kvm-08-guest16.hv2.lab.eng.bos.redhat.com dbus-daemon[822]: [system] Activating service name='com.redhat.SubscriptionManager' requested by ':1.53' (uid=0 pid=19356 comm="/usr/libexec/platform-python /usr/sbi>
Jul 02 12:16:06 kvm-08-guest16.hv2.lab.eng.bos.redhat.com dbus-daemon[19359]: [system] Failed to reset fd limit before activating service: org.freedesktop.DBus.Error.AccessDenied: Failed to restore old fd limit: Operation n>
Jul 02 12:16:06 kvm-08-guest16.hv2.lab.eng.bos.redhat.com dbus-daemon[822]: [system] Successfully activated service 'com.redhat.SubscriptionManager'
Jul 02 12:20:07 kvm-08-guest16.hv2.lab.eng.bos.redhat.com dbus-daemon[822]: [system] Reloaded configuration
Jul 02 12:20:07 kvm-08-guest16.hv2.lab.eng.bos.redhat.com dbus-daemon[822]: [system] Reloaded configuration
Jul 02 12:20:08 kvm-08-guest16.hv2.lab.eng.bos.redhat.com dbus-daemon[822]: [system] Reloaded configuration
Jul 02 12:20:08 kvm-08-guest16.hv2.lab.eng.bos.redhat.com dbus-daemon[822]: [system] Reloaded configuration
Jul 02 12:20:08 kvm-08-guest16.hv2.lab.eng.bos.redhat.com dbus-daemon[822]: [system] Reloaded configuration

Comment 5 Jan Stavel 2020-07-02 16:28:25 UTC
I have used our repo build in our rhsm-qe jenkins job.

Comment 7 John Sefler 2020-07-20 15:27:50 UTC
Verifying upgrade from subscription-manager-1.26.16-1.el8 on RHEL-8.2 to subscription-manager-1.27.10-1.el8 on RHEL-8.3...


[root@kvm-08-guest15 ~]# cat /etc/redhat-release
Red Hat Enterprise Linux release 8.2 (Ootpa)
[root@kvm-08-guest15 ~]# subscription-manager version
server type: This system is currently not registered.
subscription management server: 3.1.16-1
subscription management rules: 5.40
subscription-manager: 1.26.16-1.el8
[root@kvm-08-guest15 ~]# 
[root@kvm-08-guest15 ~]# subscription-manager identity
This system is not yet registered. Try 'subscription-manager register --help' for more information.
[root@kvm-08-guest15 ~]# 
[root@kvm-08-guest15 ~]# systemctl status dbus.service
● dbus.service - D-Bus System Message Bus
   Loaded: loaded (/usr/lib/systemd/system/dbus.service; static; vendor preset: disabled)
   Active: active (running) since Mon 2020-07-20 14:31:24 EDT; 3h 17min left
     Docs: man:dbus-daemon(1)
 Main PID: 838 (dbus-daemon)
    Tasks: 3 (limit: 23960)
   Memory: 31.1M
   CGroup: /system.slice/dbus.service
           ├─  838 /usr/bin/dbus-daemon --system --address=systemd: --nofork --nopidfile --systemd-activation --syslog-only
           └─16076 /usr/libexec/platform-python /usr/libexec/rhsmd

Jul 20 10:32:02 kvm-08-guest15.hv2.lab.eng.bos.redhat.com dbus-daemon[838]: [system] Reloaded configuration
Jul 20 10:47:15 kvm-08-guest15.hv2.lab.eng.bos.redhat.com dbus-daemon[838]: [system] Activating service name='com.redhat.SubscriptionManager' requested by ':1.39' (uid=0 pid=15>
Jul 20 10:47:15 kvm-08-guest15.hv2.lab.eng.bos.redhat.com dbus-daemon[15320]: [system] Failed to reset fd limit before activating service: org.freedesktop.DBus.Error.AccessDeni>
Jul 20 10:47:16 kvm-08-guest15.hv2.lab.eng.bos.redhat.com dbus-daemon[838]: [system] Successfully activated service 'com.redhat.SubscriptionManager'
Jul 20 11:10:57 kvm-08-guest15.hv2.lab.eng.bos.redhat.com dbus-daemon[838]: [system] Activating service name='com.redhat.SubscriptionManager' requested by ':1.49' (uid=0 pid=16>
Jul 20 11:10:57 kvm-08-guest15.hv2.lab.eng.bos.redhat.com dbus-daemon[16055]: [system] Failed to reset fd limit before activating service: org.freedesktop.DBus.Error.AccessDeni>
Jul 20 11:10:58 kvm-08-guest15.hv2.lab.eng.bos.redhat.com dbus-daemon[838]: [system] Successfully activated service 'com.redhat.SubscriptionManager'
Jul 20 11:11:23 kvm-08-guest15.hv2.lab.eng.bos.redhat.com dbus-daemon[838]: [system] Activating service name='com.redhat.SubscriptionManager' requested by ':1.53' (uid=0 pid=16>
Jul 20 11:11:23 kvm-08-guest15.hv2.lab.eng.bos.redhat.com dbus-daemon[16076]: [system] Failed to reset fd limit before activating service: org.freedesktop.DBus.Error.AccessDeni>
Jul 20 11:11:23 kvm-08-guest15.hv2.lab.eng.bos.redhat.com dbus-daemon[838]: [system] Successfully activated service 'com.redhat.SubscriptionManager'
[root@kvm-08-guest15 ~]# 

Now upgrade subscription-manager (using a nightly RHEL8.3 beaker repo for the upgrade)

[root@kvm-08-guest15 ~]# yum update subscription-manager* --enablerepo=beaker*
Updating Subscription Management repositories.
Unable to read consumer identity
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
Last metadata expiration check: 0:00:51 ago on Mon 20 Jul 2020 11:18:31 AM EDT.
Dependencies resolved.
====================================================================================================
 Package                                    Arch       Version              Repository         Size
====================================================================================================
Upgrading:
 dnf-plugin-subscription-manager            x86_64     1.27.10-1.el8        beaker-BaseOS     285 k
 python3-subscription-manager-rhsm          x86_64     1.27.10-1.el8        beaker-BaseOS     357 k
 subscription-manager                       x86_64     1.27.10-1.el8        beaker-BaseOS     1.1 M
 subscription-manager-rhsm-certificates     x86_64     1.27.10-1.el8        beaker-BaseOS     258 k

Transaction Summary
====================================================================================================
Upgrade  4 Packages

Total download size: 2.0 M
Is this ok [y/N]: y
Downloading Packages:
(1/4): dnf-plugin-subscription-manager-1.27.10-1.el8.x86_64.rpm      15 MB/s | 285 kB     00:00    
(2/4): python3-subscription-manager-rhsm-1.27.10-1.el8.x86_64.rpm    18 MB/s | 357 kB     00:00    
(3/4): subscription-manager-1.27.10-1.el8.x86_64.rpm                 33 MB/s | 1.1 MB     00:00    
(4/4): subscription-manager-rhsm-certificates-1.27.10-1.el8.x86_64.  15 MB/s | 258 kB     00:00    
----------------------------------------------------------------------------------------------------
Total                                                                54 MB/s | 2.0 MB     00:00     
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Preparing        :                                                                            1/1 
  Running scriptlet: subscription-manager-rhsm-certificates-1.27.10-1.el8.x86_64                1/1 
  Upgrading        : subscription-manager-rhsm-certificates-1.27.10-1.el8.x86_64                1/8 
  Upgrading        : python3-subscription-manager-rhsm-1.27.10-1.el8.x86_64                     2/8 
  Upgrading        : dnf-plugin-subscription-manager-1.27.10-1.el8.x86_64                       3/8 
  Upgrading        : subscription-manager-1.27.10-1.el8.x86_64                                  4/8 
  Running scriptlet: subscription-manager-1.27.10-1.el8.x86_64                                  4/8 
  Running scriptlet: subscription-manager-1.26.16-1.el8.x86_64                                  5/8 
  Cleanup          : subscription-manager-1.26.16-1.el8.x86_64                                  5/8 
  Running scriptlet: subscription-manager-1.26.16-1.el8.x86_64                                  5/8 
  Cleanup          : python3-subscription-manager-rhsm-1.26.16-1.el8.x86_64                     6/8 
  Cleanup          : subscription-manager-rhsm-certificates-1.26.16-1.el8.x86_64                7/8 
  Cleanup          : dnf-plugin-subscription-manager-1.26.16-1.el8.x86_64                       8/8 
  Running scriptlet: dnf-plugin-subscription-manager-1.26.16-1.el8.x86_64                       8/8 
  Verifying        : dnf-plugin-subscription-manager-1.27.10-1.el8.x86_64                       1/8 
  Verifying        : dnf-plugin-subscription-manager-1.26.16-1.el8.x86_64                       2/8 
  Verifying        : python3-subscription-manager-rhsm-1.27.10-1.el8.x86_64                     3/8 
  Verifying        : python3-subscription-manager-rhsm-1.26.16-1.el8.x86_64                     4/8 
  Verifying        : subscription-manager-1.27.10-1.el8.x86_64                                  5/8 
  Verifying        : subscription-manager-1.26.16-1.el8.x86_64                                  6/8 
  Verifying        : subscription-manager-rhsm-certificates-1.27.10-1.el8.x86_64                7/8 
  Verifying        : subscription-manager-rhsm-certificates-1.26.16-1.el8.x86_64                8/8 
Installed products updated.

Upgraded:
  dnf-plugin-subscription-manager-1.27.10-1.el8.x86_64                                              
  python3-subscription-manager-rhsm-1.27.10-1.el8.x86_64                                            
  subscription-manager-1.27.10-1.el8.x86_64                                                         
  subscription-manager-rhsm-certificates-1.27.10-1.el8.x86_64                                       

Complete!

[root@kvm-08-guest15 ~]# systemctl status dbus.service
● dbus.service - D-Bus System Message Bus
   Loaded: loaded (/usr/lib/systemd/system/dbus.service; static; vendor preset: disabled)
   Active: active (running) since Mon 2020-07-20 14:31:24 EDT; 3h 11min left
     Docs: man:dbus-daemon(1)
 Main PID: 838 (dbus-daemon)
    Tasks: 2 (limit: 23960)
   Memory: 4.1M
   CGroup: /system.slice/dbus.service
           └─838 /usr/bin/dbus-daemon --system --address=systemd: --nofork --nopidfile --systemd-ac>

Jul 20 11:10:57 kvm-08-guest15.hv2.lab.eng.bos.redhat.com dbus-daemon[16055]: [system] Failed to re>
Jul 20 11:10:58 kvm-08-guest15.hv2.lab.eng.bos.redhat.com dbus-daemon[838]: [system] Successfully a>
Jul 20 11:11:23 kvm-08-guest15.hv2.lab.eng.bos.redhat.com dbus-daemon[838]: [system] Activating ser>
Jul 20 11:11:23 kvm-08-guest15.hv2.lab.eng.bos.redhat.com dbus-daemon[16076]: [system] Failed to re>
Jul 20 11:11:23 kvm-08-guest15.hv2.lab.eng.bos.redhat.com dbus-daemon[838]: [system] Successfully a>
Jul 20 11:19:30 kvm-08-guest15.hv2.lab.eng.bos.redhat.com dbus-daemon[838]: [system] Reloaded confi>
Jul 20 11:19:30 kvm-08-guest15.hv2.lab.eng.bos.redhat.com dbus-daemon[838]: [system] Reloaded confi>
Jul 20 11:19:31 kvm-08-guest15.hv2.lab.eng.bos.redhat.com dbus-daemon[838]: [system] Reloaded confi>
Jul 20 11:19:31 kvm-08-guest15.hv2.lab.eng.bos.redhat.com dbus-daemon[838]: [system] Reloaded confi>
Jul 20 11:19:31 kvm-08-guest15.hv2.lab.eng.bos.redhat.com dbus-daemon[838]: [system] Reloaded confi>
[root@kvm-08-guest15 ~]# 

VERIFIED: The running /usr/libexec/rhsmd process was killed as part of the upgrade.

[root@kvm-08-guest15 ~]# subscription-manager register --serverurl=subscription.rhsm.stage.redhat.com --username=stage_auto_testuser
Registering to: subscription.rhsm.stage.redhat.com:443/subscription
Password: 
The system has been registered with ID: 983068f8-22e4-4a11-9050-28fc670bdae8
The registered system name is: kvm-08-guest15.hv2.lab.eng.bos.redhat.com
[root@kvm-08-guest15 ~]# 
[root@kvm-08-guest15 ~]# rpm -q subscription-manager --changelog | grep 1840364
- 1840364: Kill rhsmd during post-install on rhel8
[root@kvm-08-guest15 ~]# 

VERIFIED: Registration after the upgrade succeeds without a traceback for org.freedesktop.DBus.Error.AccessDenied

Comment 10 errata-xmlrpc 2020-11-04 01:39:09 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (subscription-manager bug fix and enhancement update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2020:4460


Note You need to log in before you can comment on or make changes to this bug.