Bug 480540 - Transaction errors when updating selinux-policy
Summary: Transaction errors when updating selinux-policy
Keywords:
Status: CLOSED DUPLICATE of bug 480968
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: rawhide
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Daniel Walsh
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-01-18 16:35 UTC by Jesse Keating
Modified: 2013-01-10 03:26 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-02-02 19:28:00 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Jesse Keating 2009-01-18 16:35:20 UTC
Updating       : selinux-policy                                                                                                 232/508 
Traceback (most recent call last):
  File "/usr/bin/sepolgen-ifgen", line 32, in <module>
    import sepolgen.refparser as refparser
ImportError: No module named sepolgen.refparser

Perhaps a missing Requires or Requires(post) ?

Comment 1 Daniel Walsh 2009-01-19 20:23:40 UTC
Strange they should be in the same package

# rpm -qf /usr/lib64/python2.6/site-packages/sepolgen/refparser.py
policycoreutils-python-2.0.61-2.fc11.x86_64

# rpm -qf /usr/bin/sepolgen-ifgen 
policycoreutils-python-2.0.61-2.fc11.x86_64

Comment 2 Daniel Walsh 2009-01-19 20:24:02 UTC
Is this during an install?

Comment 3 Jesse Keating 2009-01-19 22:24:05 UTC
I do believe this was an upgrade.  That is indeed quite strange.

Comment 4 Daniel Walsh 2009-01-19 22:38:27 UTC
Well those files used to be in policycoreutils and are moving to policycoreutils-python, so we can eliminate python from the minimal install.  

If those files are in the mist of a transaction I wonder if this could happen.

The code is supposed to check for the existance of   /usr/bin/sepolgen-ifgen

[ -x /usr/bin/sepolgen-ifgen ] && /usr/bin/sepolgen-ifgen 


But this file should not be there if the other python code is not.

Comment 5 Jesse Keating 2009-01-21 01:00:13 UTC
That is a weird one.  I'm going to drop if off of the Alpha tracker, but leave the bug open.  Will try to reproduce at some point.

Comment 6 Daniel Walsh 2009-02-02 19:28:00 UTC

*** This bug has been marked as a duplicate of bug 480968 ***


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