Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
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 1789334

Summary: dnf update error: arguments to dbus_connection_close() were incorrect, assertion "connection->generation == _dbus_current_generation" failed in file ../../dbus/dbus-connection.c line 2936.
Product: Red Hat Enterprise Linux 8 Reporter: vijsingh
Component: rpmAssignee: Packaging Maintenance Team <packaging-team-maint>
Status: CLOSED DUPLICATE QA Contact: swm-qe
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 8.2CC: ffesti, james.antill, packaging-team-maint, pmatilai
Target Milestone: rc   
Target Release: 8.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-01-09 12:01:41 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description vijsingh 2020-01-09 11:43:16 UTC
Description of problem:

dnf update error: arguments to dbus_connection_close() were incorrect, assertion "connection->generation == _dbus_current_generation" failed in file ../../dbus/dbus-connection.c line 2936.

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

RHEL 8.2 Beta Compose ID: RHEL-8.2.0-20191219.0

How reproducible:

Multiple times

Steps to Reproduce:
______________________________________________________________________
here are related logs :
 Note: Client system register over Satellite 6.
_____________________________________________________________________________________
[root@aimee-wimes ~]# cat /etc/redhat-release 
Red Hat Enterprise Linux release 8.2 Beta (Ootpa)
[root@aimee-wimes ~]# 



[root@aimee-wimes ~]# yum -y remove katello-agent
Updating Subscription Management repositories.
Dependencies resolved.
=============================================================================================================================================================================
 Package                            Architecture         Version                                             Repository                                                 Size
=============================================================================================================================================================================
Removing:
 katello-agent                      noarch               3.5.1-2.el8sat                                      @satellite-tools-6.5-for-rhel-8-x86_64-rpms               108 k
Removing unused dependencies:
 gofer                              noarch               2.12.5-3.el8sat                                     @satellite-tools-6.5-for-rhel-8-x86_64-rpms                31 k
 python3-gofer                      noarch               2.12.5-3.el8sat                                     @satellite-tools-6.5-for-rhel-8-x86_64-rpms               622 k
 python3-gofer-proton               noarch               2.12.5-3.el8sat                                     @satellite-tools-6.5-for-rhel-8-x86_64-rpms                65 k
 python3-pip                        noarch               9.0.3-15.el8                                        @Default_Organization_RHEL8_Prod_AppStream                2.8 k
 python3-qpid-proton                x86_64               0.28.0-1.el8                                        @satellite-tools-6.5-for-rhel-8-x86_64-rpms               2.0 M
 python36                           x86_64               3.6.8-2.module+el8.1.0+3334+5cb623d7                @Default_Organization_RHEL8_Prod_AppStream                 13 k
 qpid-proton-c                      x86_64               0.28.0-1.el8                                        @satellite-tools-6.5-for-rhel-8-x86_64-rpms               711 k

Transaction Summary
=============================================================================================================================================================================
Remove  8 Packages

Freed space: 3.5 M
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Preparing        :                                                                                                                                                     1/1 
  Running scriptlet: katello-agent-3.5.1-2.el8sat.noarch                                                                                                                 1/1 
  Erasing          : katello-agent-3.5.1-2.el8sat.noarch                                                                                                                 1/8 
  Running scriptlet: katello-agent-3.5.1-2.el8sat.noarch                                                                                                                 1/8 
  Erasing          : python3-gofer-proton-2.12.5-3.el8sat.noarch                                                                                                         2/8 
  Running scriptlet: gofer-2.12.5-3.el8sat.noarch                                                                                                                        3/8 
  Erasing          : gofer-2.12.5-3.el8sat.noarch                                                                                                                        3/8 
warning: /etc/sysconfig/goferd saved as /etc/sysconfig/goferd.rpmsave

  Running scriptlet: gofer-2.12.5-3.el8sat.noarch                                                                                                                        3/8 
  Erasing          : python3-qpid-proton-0.28.0-1.el8.x86_64                                                                                                             4/8 
  Erasing          : python3-pip-9.0.3-15.el8.noarch                                                                                                                     5/8 
  Erasing          : python36-3.6.8-2.module+el8.1.0+3334+5cb623d7.x86_64                                                                                                6/8 
  Running scriptlet: python36-3.6.8-2.module+el8.1.0+3334+5cb623d7.x86_64                                                                                                6/8 
  Erasing          : python3-gofer-2.12.5-3.el8sat.noarch                                                                                                                7/8 
  Erasing          : qpid-proton-c-0.28.0-1.el8.x86_64                                                                                                                   8/8 
  Running scriptlet: qpid-proton-c-0.28.0-1.el8.x86_64                                                                                                                   8/8 
  Verifying        : gofer-2.12.5-3.el8sat.noarch                                                                                                                        1/8 
  Verifying        : katello-agent-3.5.1-2.el8sat.noarch                                                                                                                 2/8 
  Verifying        : python3-gofer-2.12.5-3.el8sat.noarch                                                                                                                3/8 
  Verifying        : python3-gofer-proton-2.12.5-3.el8sat.noarch                                                                                                         4/8 
  Verifying        : python3-pip-9.0.3-15.el8.noarch                                                                                                                     5/8 
  Verifying        : python3-qpid-proton-0.28.0-1.el8.x86_64                                                                                                             6/8 
  Verifying        : python36-3.6.8-2.module+el8.1.0+3334+5cb623d7.x86_64                                                                                                7/8 
  Verifying        : qpid-proton-c-0.28.0-1.el8.x86_64                                                                                                                   8/8 
Installed products updated.
Uploading Tracer Profile

Removed:
  katello-agent-3.5.1-2.el8sat.noarch                                 gofer-2.12.5-3.el8sat.noarch                     python3-gofer-2.12.5-3.el8sat.noarch                  
  python3-gofer-proton-2.12.5-3.el8sat.noarch                         python3-pip-9.0.3-15.el8.noarch                  python3-qpid-proton-0.28.0-1.el8.x86_64               
  python36-3.6.8-2.module+el8.1.0+3334+5cb623d7.x86_64                qpid-proton-c-0.28.0-1.el8.x86_64               

Complete!
dbus[3801]: arguments to dbus_connection_close() were incorrect, assertion "connection->generation == _dbus_current_generation" failed in file ../../dbus/dbus-connection.c line 2936.
This is normally a bug in some application using the D-Bus library.

  D-Bus not built with -rdynamic so unable to print a backtrace
Aborted (core dumped)

[root@aimee-wimes ~]# yum -y install  katello-agent
Updating Subscription Management repositories.
BaseOS                                                                                                                                        12 kB/s | 2.5 kB     00:00    
AppStream                                                                                                                                    9.9 kB/s | 2.9 kB     00:00    
Mode_Repo1                                                                                                                                   6.6 kB/s | 2.5 kB     00:00    
Red Hat Satellite Tools 6.5 for RHEL 8 x86_64 (RPMs)                                                                                         7.1 kB/s | 2.1 kB     00:00    
Dependencies resolved.
=============================================================================================================================================================================
 Package                            Architecture         Version                                              Repository                                                Size
=============================================================================================================================================================================
Installing:
 katello-agent                      noarch               3.5.1-2.el8sat                                       satellite-tools-6.5-for-rhel-8-x86_64-rpms                46 k
Installing dependencies:
 python36                           x86_64               3.6.8-2.module+el8.1.0+3334+5cb623d7                 Default_Organization_RHEL8_Prod_AppStream                 19 k
 python3-pip                        noarch               9.0.3-15.el8                                         Default_Organization_RHEL8_Prod_AppStream                 19 k
 python3-gofer                      noarch               2.12.5-3.el8sat                                      satellite-tools-6.5-for-rhel-8-x86_64-rpms               202 k
 python3-gofer-proton               noarch               2.12.5-3.el8sat                                      satellite-tools-6.5-for-rhel-8-x86_64-rpms                63 k
 python3-qpid-proton                x86_64               0.28.0-1.el8                                         satellite-tools-6.5-for-rhel-8-x86_64-rpms               358 k
 gofer                              noarch               2.12.5-3.el8sat                                      satellite-tools-6.5-for-rhel-8-x86_64-rpms                56 k
 qpid-proton-c                      x86_64               0.28.0-1.el8                                         satellite-tools-6.5-for-rhel-8-x86_64-rpms               194 k

Transaction Summary
=============================================================================================================================================================================
Install  8 Packages

Total download size: 957 k
Installed size: 3.5 M
Downloading Packages:
(1/8): python3-gofer-2.12.5-3.el8sat.noarch.rpm                                                                                              482 kB/s | 202 kB     00:00    
(2/8): python36-3.6.8-2.module+el8.1.0+3334+5cb623d7.x86_64.rpm                                                                               42 kB/s |  19 kB     00:00    
(3/8): python3-pip-9.0.3-15.el8.noarch.rpm                                                                                                    41 kB/s |  19 kB     00:00    
(4/8): python3-gofer-proton-2.12.5-3.el8sat.noarch.rpm                                                                                       289 kB/s |  63 kB     00:00    
(5/8): katello-agent-3.5.1-2.el8sat.noarch.rpm                                                                                               178 kB/s |  46 kB     00:00    
(6/8): python3-qpid-proton-0.28.0-1.el8.x86_64.rpm                                                                                           1.2 MB/s | 358 kB     00:00    
(7/8): gofer-2.12.5-3.el8sat.noarch.rpm                                                                                                      265 kB/s |  56 kB     00:00    
(8/8): qpid-proton-c-0.28.0-1.el8.x86_64.rpm                                                                                                 1.0 MB/s | 194 kB     00:00    
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total                                                                                                                                        1.0 MB/s | 957 kB     00:00     
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Preparing        :                                                                                                                                                     1/1 
  Installing       : python3-pip-9.0.3-15.el8.noarch                                                                                                                     1/8 
  Installing       : python36-3.6.8-2.module+el8.1.0+3334+5cb623d7.x86_64                                                                                                2/8 
  Running scriptlet: python36-3.6.8-2.module+el8.1.0+3334+5cb623d7.x86_64                                                                                                2/8 
  Installing       : python3-gofer-2.12.5-3.el8sat.noarch                                                                                                                3/8 
  Installing       : gofer-2.12.5-3.el8sat.noarch                                                                                                                        4/8 
  Running scriptlet: gofer-2.12.5-3.el8sat.noarch                                                                                                                        4/8 
  Installing       : qpid-proton-c-0.28.0-1.el8.x86_64                                                                                                                   5/8 
  Running scriptlet: qpid-proton-c-0.28.0-1.el8.x86_64                                                                                                                   5/8 
  Installing       : python3-qpid-proton-0.28.0-1.el8.x86_64                                                                                                             6/8 
  Installing       : python3-gofer-proton-2.12.5-3.el8sat.noarch                                                                                                         7/8 
  Installing       : katello-agent-3.5.1-2.el8sat.noarch                                                                                                                 8/8 
  Running scriptlet: katello-agent-3.5.1-2.el8sat.noarch                                                                                                                 8/8 
Created symlink /etc/systemd/system/multi-user.target.wants/goferd.service → /usr/lib/systemd/system/goferd.service.

  Verifying        : python36-3.6.8-2.module+el8.1.0+3334+5cb623d7.x86_64                                                                                                1/8 
  Verifying        : python3-pip-9.0.3-15.el8.noarch                                                                                                                     2/8 
  Verifying        : python3-gofer-2.12.5-3.el8sat.noarch                                                                                                                3/8 
  Verifying        : python3-gofer-proton-2.12.5-3.el8sat.noarch                                                                                                         4/8 
  Verifying        : katello-agent-3.5.1-2.el8sat.noarch                                                                                                                 5/8 
  Verifying        : python3-qpid-proton-0.28.0-1.el8.x86_64                                                                                                             6/8 
  Verifying        : gofer-2.12.5-3.el8sat.noarch                                                                                                                        7/8 
  Verifying        : qpid-proton-c-0.28.0-1.el8.x86_64                                                                                                                   8/8 
Installed products updated.
Uploading Tracer Profile

Installed:
  katello-agent-3.5.1-2.el8sat.noarch          python36-3.6.8-2.module+el8.1.0+3334+5cb623d7.x86_64  python3-pip-9.0.3-15.el8.noarch  python3-gofer-2.12.5-3.el8sat.noarch 
  python3-gofer-proton-2.12.5-3.el8sat.noarch  python3-qpid-proton-0.28.0-1.el8.x86_64               gofer-2.12.5-3.el8sat.noarch     qpid-proton-c-0.28.0-1.el8.x86_64    

Complete!
dbus[3216]: arguments to dbus_connection_close() were incorrect, assertion "connection->generation == _dbus_current_generation" failed in file ../../dbus/dbus-connection.c line 2936.
This is normally a bug in some application using the D-Bus library.

  D-Bus not built with -rdynamic so unable to print a backtrace
Aborted (core dumped)
_______________________________________________________________________


Actual results:

dbus[3216]: arguments to dbus_connection_close() were incorrect, assertion "connection->generation == _dbus_current_generation" failed in file ../../dbus/dbus-connection.c line 2936.


Expected results:

 Yum transaction should complete without any error.

Additional info:

Comment 3 Panu Matilainen 2020-01-09 11:58:33 UTC
This is actually a problem in rpm systemd_inhibit plugin (see bug 1783346)

Comment 4 Panu Matilainen 2020-01-09 12:01:41 UTC

*** This bug has been marked as a duplicate of bug 1783346 ***