Bug 587319

Summary: updating selinux-policy causes traceback
Product: [Fedora] Fedora Reporter: Jóhann B. Guðmundsson <johannbg>
Component: policycoreutilsAssignee: Daniel Walsh <dwalsh>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 13CC: dwalsh, mgrepl
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: policycoreutils-2.0.82-18.fc13 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-05-18 21:45:33 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Jóhann B. Guðmundsson 2010-04-29 15:32:27 UTC
Description of problem:

Updating       : selinux-policy-3.7.19-6.fc13.noarch                                                                                                2/20 
Traceback (most recent call last):
  File "/usr/bin/sepolgen-ifgen", line 128, in <module>
    sys.exit(main())
  File "/usr/bin/sepolgen-ifgen", line 105, in main
    attrs = get_attrs()
  File "/usr/bin/sepolgen-ifgen", line 64, in get_attrs
    policy_path = selinux.selinux_binary_policy_path() + "." + str(selinux.security_policyvers())


Version-Release number of selected component (if applicable):

selinux-policy-3.7.19-6.fc13.noarch

How reproducible:

Atleast once ;) 

Steps to Reproduce:
1. Run yum -y update from cli
2.
3.
  
Actual results:

The above

Expected results:

Selinux policy updating without errors. 

Additional info:

Comment 1 Jóhann B. Guðmundsson 2010-04-29 15:33:19 UTC
Last line was missing from my copy/paste

--> OSError: [Errno 2] No such file or directory

Comment 2 Daniel Walsh 2010-04-29 18:05:22 UTC
Fixed in policycoreutils-2.0.82-12.fc13

Comment 3 Fedora Update System 2010-05-11 20:34:13 UTC
policycoreutils-2.0.82-17.fc13 has been submitted as an update for Fedora 13.
http://admin.fedoraproject.org/updates/policycoreutils-2.0.82-17.fc13

Comment 4 Fedora Update System 2010-05-12 12:20:14 UTC
policycoreutils-2.0.82-17.fc13 has been pushed to the Fedora 13 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update policycoreutils'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/policycoreutils-2.0.82-17.fc13

Comment 5 Fedora Update System 2010-05-15 20:19:30 UTC
policycoreutils-2.0.82-18.fc13 has been pushed to the Fedora 13 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update policycoreutils'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/policycoreutils-2.0.82-18.fc13

Comment 6 Fedora Update System 2010-05-18 21:45:15 UTC
policycoreutils-2.0.82-18.fc13 has been pushed to the Fedora 13 stable repository.  If problems still persist, please make note of it in this bug report.