Bug 203479 - ImportError: No module named AuditMsg
Summary: ImportError: No module named AuditMsg
Alias: None
Product: Fedora
Classification: Fedora
Component: setroubleshoot
Version: rawhide
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: John Dennis
QA Contact:
Depends On:
TreeView+ depends on / blocked
Reported: 2006-08-21 23:04 UTC by Dave Malcolm
Modified: 2007-11-30 22:11 UTC (History)
1 user (show)

Clone Of:
Last Closed: 2006-08-22 03:43:04 UTC

Attachments (Terms of Use)

Description Dave Malcolm 2006-08-21 23:04:22 UTC
Description of problem:
sudo /sbin/service setroubleshoot start
Starting setroubleshoot: Traceback (most recent call last):
  File "/usr/sbin/setroubleshootd", line 22, in ?
    from setroubleshoot.server import RunFaultServer
  File "/usr/lib/python2.4/site-packages/setroubleshoot/server.py", line 28, in ?
    from setroubleshoot.dispatcher import HandleAVCS
  File "/usr/lib/python2.4/site-packages/setroubleshoot/dispatcher.py", line 4, in ?
    import AuditMsg
ImportError: No module named AuditMsg

Version-Release number of selected component (if applicable):

(am I missing a dependency?)

Comment 1 John Dennis 2006-08-22 03:43:04 UTC
Hi David:

Yes, it would appear you are missing audit-libs-python. I see this dependency is
missing from the spec file, I've corrected that and the change should appear in
the next rpm. If after installing audit-libs-python you still have a problem
please re-open this bugzilla. Thanks for testing and helping us!

Comment 2 Dave Malcolm 2006-08-22 21:41:46 UTC

Turned out I had audit-libs-python installed all along; I was only partially
up-to-date with rawhide.
audit-libs-python-1.2.1-1 didn't have the AuditMsg module

On upgrading to the latest (audit-libs-python-1.2.5-8) that module was supplied,
and the service started fine.

So theoretically you could change the requirement to need a specific version or
later, but since it will only affect FC6Test users I don't think this needs
fixing; leaving CLOSED.

Comment 3 John Dennis 2006-08-23 12:07:48 UTC
Dan, when I added the requires for audit-libs-python I didn't force a minimum
version because there was a minimum version on audit (see below). I mistakenly
assumed an update to a specific version of audit would force a matching update
of audit-libs* but apparently it doesn't. What is the minimum version we need
for audit-libs-python?

Requires: audit >= audit-1.2.5-7
Requires: audit-libs-python

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