Bug 375901 - missing dependency: libxml2-python
Summary: missing dependency: libxml2-python
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: setroubleshoot
Version: 7
Hardware: i386
OS: Linux
low
medium
Target Milestone: ---
Assignee: John Dennis
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2007-11-11 13:44 UTC by Dean Mander
Modified: 2008-01-09 17:02 UTC (History)
0 users

Fixed In Version: 1.10.7-1.fc8
Clone Of:
Environment:
Last Closed: 2008-01-09 17:02:51 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Dean Mander 2007-11-11 13:44:23 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.8) Gecko/20071019 Fedora/2.0.0.8-1.fc7 Firefox/2.0.0.8

Description of problem:
$ sealert -a audit.log
Traceback (most recent call last):
  File "/usr/bin/sealert", line 45, in <module>
    from setroubleshoot.analyze import *
  File "/usr/lib/python2.5/site-packages/setroubleshoot/analyze.py", line 35, in <module>
    from setroubleshoot.avc_audit import *
  File "/usr/lib/python2.5/site-packages/setroubleshoot/avc_audit.py", line 35, in <module>
    from setroubleshoot.signature import AVC, AvcContext
  File "/usr/lib/python2.5/site-packages/setroubleshoot/signature.py", line 75, in <module>
    import libxml2
ImportError: No module named libxml2

$ yum -y install libxml2-python

$ sealert -a audit.log
100% done
found 50 alerts in audit.log


Version-Release number of selected component (if applicable):
setroubleshoot.noarch 0:1.9.4-2.fc7

How reproducible:
Always


Steps to Reproduce:
1. remove libxml2-python
2. run sealert

Actual Results:


Expected Results:


Additional info:

Comment 1 John Dennis 2007-11-30 16:08:33 UTC
The requires for libxml2-python was in the most current F-7 version 1.10.6-1,
but that version had to be pulled because it had a dependency on selinux-policy
being at least 2.6.4-45 was wasn't available at the time. That version has since
become available. At that time setroubleshoot-1.10.6-1 should probably have been
repushed, but it wasn't.

Perhaps you might like to try installing setroubleshoot-1.10.6-1 and report back
if you have any problems. You can download it here:

http://koji.fedoraproject.org/koji/buildinfo?buildID=19682

The analysis plugins were split out into their own package so you'll need to
satisfy the dependency on setroubleshoot-plugins, the F-7 version can be
obtained here:

http://koji.fedoraproject.org/koji/buildinfo?buildID=15769


Comment 2 Dean Mander 2007-11-30 16:50:00 UTC
I've upgraded to F-8 in the meanwhile, using 1.10.7-1.fc8.
In this version the dependency is set and, so to me the problem is solved.
Thanks!


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