Bug 985515
| Summary: | productid yum plugin fails in anaconda env because of missing dbus in anaconda runtime image | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 5 | Reporter: | Adrian Likins <alikins> | ||||||
| Component: | subscription-manager | Assignee: | Carter Kozak <ckozak> | ||||||
| Status: | CLOSED ERRATA | QA Contact: | IDM QE LIST <seceng-idm-qe-list> | ||||||
| Severity: | high | Docs Contact: | |||||||
| Priority: | unspecified | ||||||||
| Version: | 5.10 | CC: | bkearney, ckozak, dlah, jesusr, jsefler, qianzhan | ||||||
| Target Milestone: | rc | ||||||||
| Target Release: | --- | ||||||||
| Hardware: | Unspecified | ||||||||
| OS: | Unspecified | ||||||||
| Whiteboard: | |||||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||||
| Doc Text: |
No description necessary
|
Story Points: | --- | ||||||
| Clone Of: | Environment: | ||||||||
| Last Closed: | 2013-09-30 23:13:31 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: | |||||||||
| Bug Depends On: | |||||||||
| Bug Blocks: | 840995 | ||||||||
| Attachments: |
|
||||||||
*** Bug 986757 has been marked as a duplicate of this bug. *** commit 43f86b88d8d2d1a0ad3d514f30e0eec83194cd1a
Author: ckozak <ckozak>
Date: Mon Jul 22 14:44:23 2013 -0400
985515: moved DbusIface to fix anaconda productId
Created attachment 786212 [details]
/etc/pki/product/69.pem was installed by anaconda
My approach to verifying this bug will be to launch a minimal install (no groups checked and all default packages unchecked by choosing Customize now during anaconda install screens) and verify after it completes that the RHEL product id is installed.
Verifying with RHEL-5.10-Server-Snapshot-4.0/ RHEL5.10-Server-20130807.1
After provisioning a minimal install, only 154 packages were installed. /root/anaconda-ks.cfg contains only:
%packages
@core
sgpio
subscription-manager was not installed, however the product id was indeed installed as /etc/pki/product/69.pem See screenshot.
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. http://rhn.redhat.com/errata/RHBA-2013-1332.html |
Created attachment 774850 [details] screenshot of F2 console from anaconda after running the plugin manually Description of problem: 0a95a841719210e2b6b244377d926a6eab9cf535 in master moved the code for getting a dbus interface from gui/utils.py to utils.py the rhsm yum plugin "productid.py" is invoked via the anaconda process (via yum). The environment in which anaconda is running does not have the dbus-python package (/usr/lib64/python2.4/site-packages/dbus) so the productid plugin fails to load. Note that in rhel5, the file system image is using as it's / filesystem is basically constructed by hand, often ignoring rpm deps. In this case, despite productid.py requiring dbus-python, it isnt part of the installer. We may be able to get it included, but I doubt it (doesn't look like there is any dbus at all). So we probably need to either remove or split that dep, or let it handle it being missing. screenshot of F2 console from anaconda after running the plugin manually, Version-Release number of selected component (if applicable): Anaconda image from RHEL5.10-Client-20130717.0.n