need howto for SELinux config--ssh on non-standard port

John Poelstra poelstra at redhat.com
Thu Jan 14 03:48:24 UTC 2010


Ed Greshko said the following on 01/13/2010 06:32 PM Pacific Time:
> John Poelstra wrote:
>> [root at localhost ~]# grep ssh /var/log/audit/audit.log | audit2allow -m myssh
>> Traceback (most recent call last):
>>     File "/usr/bin/audit2allow", line 24, in<module>
>>       import sepolgen.policygen as policygen
>>     File "/usr/lib/python2.6/site-packages/sepolgen/policygen.py", line
>> 33, in<module>
>>       from setools import *
>> ImportError: No module named setools
>>
>> How do I fix this?
>>
>> John
>>
>>
> yum install setools-libs-python  or
>
> yum install setools*  to be 100% sure....  :-)
>
>

Interesting.  I would have expected it to have been included as a 
dependency when I installed policycoreutils-python which includes 
audit2allow, particularly since audit2allow won't even run without it.

Seems like a bug to me.

John


More information about the users mailing list