nufw-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Nufw-devel] audit module


From: Glen Ogilvie
Subject: [Nufw-devel] audit module
Date: Wed, 21 Apr 2010 00:11:13 +1200 (NZST)

Hi,

I thought I'd run up a version of mds from svn, to test out the modules I 
recently contributed.

I think I might have found a bug.

I have the audit system commented out, as below:

# Audit system configuration
# If commented, the audit module will be disabled
# [audit]
# method = database
# dbhost = localhost
# MySQL and PostgreSQL backends are available
# dbdriver = postgres
# dbport = 5432
# dbdriver = mysql
# dbport = 3306
# dbuser = audit
# dbpassword = audit
# dbbase = audit

Yet, I get errors like:
2010-04-21 12:46:46,153 ERROR Error during render base.getLog: Traceback (most 
recent call last):
  File "/usr/lib64/python2.6/threading.py", line 477, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/usr/lib64/python2.6/site-packages/twisted/python/threadpool.py", line 
210, in _worker
    result = context.call(ctx, function, *args, **kwargs)
  File "/usr/lib64/python2.6/site-packages/twisted/python/context.py", line 59, 
in callWithContext
    return self.currentContext().callWithContext(ctx, func, *args, **kw)
  File "/usr/lib64/python2.6/site-packages/twisted/python/context.py", line 37, 
in callWithContext
    return func(*args,**kw)
--- <exception caught here> ---
  File "/usr/lib/python2.6/site-packages/mmc/agent.py", line 214, in _putResult
    result = f(*args, **kwargs)
  File "plugins/base/__init__.py", line 417, in getLog

  File "/usr/lib/python2.6/site-packages/mmc/core/audit/__init__.py", line 81, 
in getLog
    return self.logaction.getLog(*args)
exceptions.AttributeError: 'AuditWriterNull' object has no attribute 'getLog'


Is there something I have missed that I should have done?

Also, I noticed that bulkimport.ini is not copied in the install section, in 
http://mds.mandriva.org/svn/mmc-projects/mds/trunk/agent/Makefile
It run's ok without this, but maybe we should copy it for consistency

Regards
-- 
Glen Ogilvie
Open Systems Specialists
Level 1, 162 Grafton Road
http://www.oss.co.nz/

Ph: +64 9 984 3000
Mobile: +64 21 684 146
GPG Key: ACED9C17




reply via email to

[Prev in Thread] Current Thread [Next in Thread]