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

Paul W. Frields stickster at gmail.com
Thu Jan 14 22:13:25 UTC 2010


On Thu, Jan 14, 2010 at 03:49:16PM -0500, Daniel J Walsh wrote:
> On 01/14/2010 10:33 AM, Paul W. Frields wrote:
> > On Wed, Jan 13, 2010 at 07:48:24PM -0800, 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.
> > 
> > It's definitely a bug.  In this case setools-libs-python should be a
> > Requires: in that RPM package.
> > 
> Already fixed in policycoreutils
> 
> yum -y upgrade policycoreutils --enablerepo=updates-testing

Thanks Dan!  Always on the case, that guy. :-)

-- 
Paul W. Frields                                http://paul.frields.org/
  gpg fingerprint: 3DA6 A0AC 6D58 FEC4 0233  5906 ACDB C937 BD11 3717
  http://redhat.com/   -  -  -  -   http://pfrields.fedorapeople.org/
  irc.freenode.net: stickster @ #fedora-docs, #fedora-devel, #fredlug


More information about the users mailing list