Bug 437722 - policygentool - missing python module dependency + wrong option
Summary: policygentool - missing python module dependency + wrong option
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: selinux-policy
Version: 5.3
Hardware: All
OS: Linux
low
low
Target Milestone: rc
: ---
Assignee: Radek Vokál
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-03-16 23:08 UTC by Josef Kubin
Modified: 2012-10-16 08:19 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-01-20 21:32:29 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2009:0163 0 normal SHIPPED_LIVE selinux-policy bug fix and enhancement update 2009-01-20 16:05:21 UTC

Description Josef Kubin 2008-03-16 23:08:29 UTC
Description of problem:
# /usr/share/selinux/devel/policygentool
Traceback (most recent call last):
  File "./policygentool", line 25, in ?
    import polgen
ImportError: No module named polgen

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
wrong option:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

--- policygentool       2008-03-16 23:52:33.000000000 +0100
+++ policygentool.fixed 2008-03-17 00:04:31.000000000 +0100
@@ -50,7 +50,7 @@
 
 # /usr/share/selinux/devel/policygentool myapp /usr/bin/myapp
 # make -f /usr/share/selinux/devel/Makefile
-# semodule -l myapp.pp
+# semodule -i myapp.pp
 # restorecon -R -v /usr/bin/myapp "all files defined in myapp.fc"
 
 Now you can turn on permissive mode, start your application and avc messages

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Version-Release number of selected component (if applicable):
selinux-policy-devel-2.4.6-106.el5_1.3

Comment 1 Daniel Walsh 2008-05-02 14:41:53 UTC
Fixed in selinux-policy-2.4.6-138.el5	

Comment 2 Tony Fu 2008-10-06 01:28:09 UTC
User jkubin's account has been closed

Comment 3 Tony Fu 2008-10-06 01:29:49 UTC
User jkubin's account has been closed

Comment 4 Daniel Walsh 2008-10-21 18:07:38 UTC
This fix is in the U3 policy.

Comment 8 Daniel Walsh 2008-10-29 16:16:09 UTC
Fixed in selinux-policy-2.4.6-179.el5

Comment 11 Daniel Walsh 2008-11-24 17:58:07 UTC
Don't know how this came back.

Fixed in selinux-policy-2.4.6-193

Comment 15 errata-xmlrpc 2009-01-20 21:32:29 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHBA-2009-0163.html


Note You need to log in before you can comment on or make changes to this bug.