New issue 61 by kalibslack: Problem with some modules
http://code.google.com/p/hntool/issues/detail?id=61
Using hntool 0.1.2 on Ubuntu Server with kernel 2.6.32 and python 2.6.
Got this erro:
root@devplatform:/srv/hntool-0.1.2# ./hntool
[ Starting HnTool checks... ]
Traceback (most recent call last):
File "./hntool", line 29, in <module>
hn.run_tests()
File "/srv/hntool-0.1.2/HnTool/core.py", line 221, in run_tests
'results': self.rule_modules[m].analyze(self.options)})
File "/srv/hntool-0.1.2/HnTool/modules/filesystems.py", line 57, in
analyze
datafile = locate_database[os_type]
UnboundLocalError: local variable 'os_type' referenced before assignment
Hi kalibslack,
Could please check if the package 'mlocate' is installed? If it isnot,
could you please install it and check again?
Thanks for the bug report.
Kind Regards, Italo.
Working now. ;] Thanks.
Comment #3 on issue 61 by hugodoria: Problem with some modules
http://code.google.com/p/hntool/issues/detail?id=61
I will add a better way to check if mlocate is installed.
Thanks for your report, kalibslack. ;-)
Can we document this dependency information in source?