Bug 691537 - sos depends on rpm-python but that is not included as a dependency on the sos rpm
Summary: sos depends on rpm-python but that is not included as a dependency on the sos...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: sos
Version: 6.0
Hardware: All
OS: Linux
medium
high
Target Milestone: rc
: ---
Assignee: Bryn M. Reeves
QA Contact: BaseOS QE - Apps
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-03-28 18:57 UTC by Guil Barros
Modified: 2018-11-14 13:41 UTC (History)
8 users (show)

Fixed In Version: sos-2.2-8.el6
Doc Type: Bug Fix
Doc Text:
Previously, when sos was run without the rpm-python package installed, the sosreport program terminated with a traceback. With this update, the rpm-python package has been added into the sos spec file as a required package and this bug no longer occurs.
Clone Of:
Environment:
Last Closed: 2011-05-19 14:27:58 UTC
Target Upstream Version:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2011:0773 0 normal SHIPPED_LIVE sos bug fix and enhancement update 2011-05-18 18:08:30 UTC

Description Guil Barros 2011-03-28 18:57:35 UTC
Description of problem:
sosreport requires rpm-python but that is not a dependency of the sos rpm

Version-Release number of selected component (if applicable):
sos-2.2-2.el6.noarch

How reproducible:
every time

Steps to Reproduce:
1. remove rpm-python (if installed)
2. install sos
3. attempt to run sos
  
Actual results:
Traceback (most recent call last):
  File "/usr/sbin/sosreport", line 18, in <module>
    from sos.sosreport import sosreport, doExitCode
  File "/usr/lib/python2.6/site-packages/sos/sosreport.py", line 40, in <module>
    import sos.policyredhat
  File "/usr/lib/python2.6/site-packages/sos/policyredhat.py", line 31, in <module>
    import rpm
ImportError: No module named rpm

Expected results:
sos should run

Comment 2 RHEL Program Management 2011-04-04 02:02:03 UTC
Since RHEL 6.1 External Beta has begun, and this bug remains
unresolved, it has been rejected as it is not proposed as
exception or blocker.

Red Hat invites you to ask your support representative to
propose this request, if appropriate and relevant, in the
next release of Red Hat Enterprise Linux.

Comment 8 Tomas Capek 2011-05-18 14:49:33 UTC
    Technical note added. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    New Contents:
Previously, when sos was run without the rpm-python package installed, the sosreport program terminated with a traceback. With this update, the rpm-python package has been added into the sos spec file as a required package and this bug no longer occurs.

Comment 9 errata-xmlrpc 2011-05-19 14:27:58 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHBA-2011-0773.html


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