Red Hat Bugzilla – Bug 1308593
redhat-support-tool should depend on python-magic
Last modified: 2016-05-31 21:48:03 EDT
Description of problem:
If there is fresh installation of redhat-support-tool - for example on our internal servers - and package python-magic is not installed, backtrace will appear. That package should be installed with redhat-support-tool (and *-lib-python as well).
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1.redhat-support-tool diagnose /var/log/messages
Traceback (most recent call last):
File "/usr/bin/redhat-support-tool", line 21, in <module>
from redhat_support_tool.helpers.common import set_docstring
File "/usr/lib/python2.6/site-packages/redhat_support_tool/helpers/common.py", line 25, in <module>
from redhat_support_tool.helpers.soscleaner import SOSCleaner
File "/usr/lib/python2.6/site-packages/redhat_support_tool/helpers/soscleaner.py", line 27, in <module>
ImportError: No module named magic
Command passes without any problem
We should be able to fix and verify this issue in rhel-6.8 release.
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.