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 1246146

Summary: The subscription-manager-initial-setup-addon should depend on subscription-manager-gui
Product: Red Hat Enterprise Linux 7 Reporter: Martin Kolman <mkolman>
Component: subscription-managerAssignee: Chris "Ceiu" Rog <crog>
Status: CLOSED ERRATA QA Contact: John Sefler <jsefler>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 7.2CC: crog, mkolman, skallesh
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-11-19 11:49:34 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 Martin Kolman 2015-07-23 14:28:33 UTC
Description of problem:
The subscription-manager-initial-setup-addon uses Python modules from the subscription-manager-gui but does not declare a dependency on it.

Version-Release number of selected component (if applicable):
subscription-manager-initial-setup-addon-1.15.6-1.el7.x86_64

How reproducible:
always

Steps to Reproduce:
1. make sure no subscription-manager-* packages are installed
2. install subscription-manager-initial-setup-addon
3. try to use it

Actual results:
Addon does not show up in Initial Setup and checking Journal shows an exception due to missing Python modules contained in the subscription-manager-gui module.

Expected results:
Installing the subscription-manager-initial-setup-addon package also installs subscription-manager-gui and the Subscription Manager addon correctly shows up in Initial Setup.

Comment 2 John Sefler 2015-07-23 15:52:37 UTC
Agreed...

[root@jsefler-7 ~]# rpm -q subscription-manager-initial-setup-addon
subscription-manager-initial-setup-addon-1.15.6-1.el7.x86_64

[root@jsefler-7 ~]# rpm -qvR subscription-manager-initial-setup-addon
manual: initial-setup
rpmlib: rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib: rpmlib(FileDigests) <= 4.6.0-1
rpmlib: rpmlib(PartialHardlinkSets) <= 4.0.4-1
rpmlib: rpmlib(PayloadFilesHavePrefix) <= 4.0-1
manual: subscription-manager = 1.15.6-1.el7      <============ 
rpmlib: rpmlib(PayloadIsXz) <= 5.2-1


Expected the requires list above to include subscription-manager-gui instead of subscription-manager.

Comment 3 Chris "Ceiu" Rog 2015-07-23 19:44:26 UTC
commit badc9c482668e85ab1472e50a6dda09813839f8d
Author: Chris Rog <crog>
Date:   Thu Jul 23 15:35:00 2015 -0400

    1246146: Changed initial-setup-addon package requirement from subman to subman-gui

Comment 5 Shwetha Kallesh 2015-07-28 09:28:55 UTC
Verified!!


Version:
subscription-manager-initial-setup-addon-1.15.9-2.el7.x86_64


[root@dhcp35-236 ~]# rpm -qvR subscription-manager-initial-setup-addon
manual: initial-setup-gui
rpmlib: rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib: rpmlib(FileDigests) <= 4.6.0-1
rpmlib: rpmlib(PartialHardlinkSets) <= 4.0.4-1
rpmlib: rpmlib(PayloadFilesHavePrefix) <= 4.0-1
manual: subscription-manager-gui = 1.15.9-2.el7
rpmlib: rpmlib(PayloadIsXz) <= 5.2-1


[root@dhcp35-236 ~]# rpm -e subscription-manager-gui-1.15.9-2.el7.x86_64
error: Failed dependencies:
	subscription-manager-gui = 1.15.9-2.el7 is needed by (installed) subscription-manager-initial-setup-addon-1.15.9-2.el7.x86_64

Comment 6 errata-xmlrpc 2015-11-19 11:49:34 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-2122.html