[CentOS] policygentool in selinux-policy-devel-2.4.6-106

Thu Apr 17 17:41:18 UTC 2008
Winslett, Chris <cwinslett at harbert.net>

I just installed a fresh copy of Centos 5.1, yum upgraded all, and the
following error occurred with selinux-policy-devel-2.4.6-106.el5_1.3
rpm.

 

When I was trying to run policygentool, I was getting the following
error:

 

     Traceback (most recent call last):

        File "/usr/share/selinux/devel/policygentool", line 25, in ?

          Import polgen

 

ImportError: No module named polgen

 

Turns out, online 25 the following diff should be made:

 

- import polgen

+ import sepolgen

 

I assume the Python module changed names.

 

I uninstalled the RPM and reinstalled it to ensure I was getting the
same error, and I did.

 

Christopher Winslett

Harbert Management Corporation

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.centos.org/pipermail/centos/attachments/20080417/6385907b/attachment-0004.html>