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 1146982

Summary: virt-manager needs to depend on dconf and dbus-x11
Product: Red Hat Enterprise Linux 7 Reporter: Cole Robinson <crobinso>
Component: virt-managerAssignee: Giuseppe Scrivano <gscrivan>
Status: CLOSED ERRATA QA Contact: Virtualization Bugs <virt-bugs>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 7.1CC: codong, dyuan, gscrivan, juzhou, mzhan, tzheng
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: virt-manager-1.1.0-4.el7 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-03-05 10:07:19 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 Cole Robinson 2014-09-26 13:49:23 UTC
virt-manager needs to Require: dconf and Require: dbus-x11. These are issues we hit in Fedora but haven't made it into the RHEL package yet.

I can't find the original dconf bug, but it's similar to this report: http://www.redhat.com/archives/virt-tools-list/2014-September/msg00246.html

dbus-x11: https://bugzilla.redhat.com/show_bug.cgi?id=1039803

I'd recommend looking at the upstream spec file for any other changes that might not have made it to RHEL.

Comment 4 zhoujunqin 2014-10-09 09:32:21 UTC
I can reproduce this issue with package:
virt-manager-1.1.0-1.el7.noarch

steps:
1. # rpm -q virt-manager dbus-x11 dconf 
package virt-manager is not installed
package dbus-x11 is not installed
package dconf is not installed

2. # ls
virt-install-1.1.0-1.el7.noarch.rpm  virt-manager-1.1.0-1.el7.noarch.rpm  virt-manager-common-1.1.0-1.el7.noarch.rpm
# yum install * -y 
Loaded plugins: langpacks, product-id, refresh-packagekit, subscription-manager
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
Examining virt-install-1.1.0-1.el7.noarch.rpm: virt-install-1.1.0-1.el7.noarch
Marking virt-install-1.1.0-1.el7.noarch.rpm to be installed
Examining virt-manager-1.1.0-1.el7.noarch.rpm: virt-manager-1.1.0-1.el7.noarch
Marking virt-manager-1.1.0-1.el7.noarch.rpm to be installed
Examining virt-manager-common-1.1.0-1.el7.noarch.rpm: virt-manager-common-1.1.0-1.el7.noarch
Marking virt-manager-common-1.1.0-1.el7.noarch.rpm to be installed
Resolving Dependencies
--> Running transaction check
---> Package virt-install.noarch 0:1.1.0-1.el7 will be installed
---> Package virt-manager.noarch 0:1.1.0-1.el7 will be installed
---> Package virt-manager-common.noarch 0:1.1.0-1.el7 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

===================================================================================================================================================================================================================
 Package                                            Arch                                  Version                                     Repository                                                              Size
===================================================================================================================================================================================================================
Installing:
 virt-install                                       noarch                                1.1.0-1.el7                                 /virt-install-1.1.0-1.el7.noarch                                        60 k
 virt-manager                                       noarch                                1.1.0-1.el7                                 /virt-manager-1.1.0-1.el7.noarch                                       3.6 M
 virt-manager-common                                noarch                                1.1.0-1.el7                                 /virt-manager-common-1.1.0-1.el7.noarch                                5.0 M

Transaction Summary
....

Result:
r1: No package 'dbus-x11' and 'dconf' are needed when install virt-manager-1.1.0-1.el7.noarch.
r2: Then launch "virt-manager": File--> Add Connection (input the remote server ip and passwd)
r3: After new connection showing, Exit virt-manager and Launch again, the new connection added by step r2 disappeared.


Try to verify it with new build:
virt-manager-1.1.0-4.el7.noarch

steps:
1. Check the system:
# rpm -q virt-manager dbus-x11 dconf 
package virt-manager is not installed
package dbus-x11 is not installed
package dconf is not installed

2. Try to install package "virt-manager"
# yum install virt-manager-1.1.0-4.el7.noarch.rpm 
Loaded plugins: langpacks, product-id, refresh-packagekit, subscription-manager
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
Examining virt-manager-1.1.0-4.el7.noarch.rpm: virt-manager-1.1.0-4.el7.noarch
Marking virt-manager-1.1.0-4.el7.noarch.rpm to be installed
Resolving Dependencies
--> Running transaction check
---> Package virt-manager.noarch 0:1.1.0-4.el7 will be installed
--> Processing Dependency: dbus-x11 for package: virt-manager-1.1.0-4.el7.noarch
--> Processing Dependency: dconf for package: virt-manager-1.1.0-4.el7.noarch
--> Running transaction check
---> Package dbus-x11.x86_64 1:1.6.12-8.el7 will be installed
---> Package dconf.x86_64 0:0.16.0-6.el7 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

===================================================================================================================================================================================================================
 Package                                        Arch                                     Version                                          Repository                                                          Size
===================================================================================================================================================================================================================
Installing:
 virt-manager                                   noarch                                   1.1.0-4.el7                                      /virt-manager-1.1.0-4.el7.noarch                                   3.6 M
Installing for dependencies:
 dbus-x11                                       x86_64                                   1:1.6.12-8.el7                                   RHEL-Server                                                         45 k
 dconf                                          x86_64                                   0.16.0-6.el7                                     RHEL-Server                                                        150 k

Transaction Summary
===================================================================================================================================================================================================================
Install  1 Package (+2 Dependent packages)

Total size: 3.8 M
Total download size: 195 k
Installed size: 4.1 M
Is this ok [y/d/N]: y
Downloading packages:
(1/2): dbus-x11-1.6.12-8.el7.x86_64.rpm                                                                                                                                                     |  45 kB  00:00:00     
(2/2): dconf-0.16.0-6.el7.x86_64.rpm                                                                                                                                                        | 150 kB  00:00:00     
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total                                                                                                                                                                              784 kB/s | 195 kB  00:00:00     
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Installing : dconf-0.16.0-6.el7.x86_64                                                                                                                                                                       1/3 
  Installing : 1:dbus-x11-1.6.12-8.el7.x86_64                                                                                                                                                                  2/3 
  Installing : virt-manager-1.1.0-4.el7.noarch                                                                                                                                                                 3/3 
  Verifying  : 1:dbus-x11-1.6.12-8.el7.x86_64                                                                                                                                                                  1/3 
  Verifying  : dconf-0.16.0-6.el7.x86_64                                                                                                                                                                       2/3 
  Verifying  : virt-manager-1.1.0-4.el7.noarch                                                                                                                                                                 3/3 

Installed:
  virt-manager.noarch 0:1.1.0-4.el7                                                                                                                                                                                

Dependency Installed:
  dbus-x11.x86_64 1:1.6.12-8.el7                                                                            dconf.x86_64 0:0.16.0-6.el7                                                                           

Complete!

# rpm -q virt-manager dbus-x11 dconf 
virt-manager-1.1.0-4.el7.noarch
dbus-x11-1.6.12-8.el7.x86_64
dconf-0.16.0-6.el7.x86_64

Result:
Since package 'dbus-x11' and 'dconf' is needed by new version 'virt-manager-1.1.0-4.el7.noarch', and virt-manager can save connection and showing connection successfully, move this bug from ON_QA to VERIFIED.

Comment 6 errata-xmlrpc 2015-03-05 10:07:19 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, 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://rhn.redhat.com/errata/RHBA-2015-0427.html