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

Daniel J Walsh dwalsh at redhat.com
Thu Jan 14 14:06:36 UTC 2010


On 01/13/2010 10:48 PM, John Poelstra wrote:
> 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
This is a known bug and is fixed in an update policycoreutils


More information about the users mailing list