Bug 871006

Summary: semanage throws an exception
Product: [Fedora] Fedora Reporter: cristi falcas <cristi.falcas>
Component: policycoreutilsAssignee: Daniel Walsh <dwalsh>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 17CC: cristi.falcas, dwalsh, mgrepl
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-11-16 21:09:00 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description cristi falcas 2012-10-29 11:46:48 UTC
Description of problem:
semanage throws exception

Version-Release number of selected component (if applicable):
All packages are from the testing repository:
policycoreutils-sandbox-2.1.12-4.fc17.x86_64
policycoreutils-2.1.12-4.fc17.x86_64
policycoreutils-restorecond-2.1.12-4.fc17.x86_64
policycoreutils-python-2.1.12-4.fc17.x86_64

How reproducible:
always

Steps to Reproduce:
1. run /usr/sbin/semanage boolean --modify --on httpd_can_network_connect
2.
3.
  
Actual results:
Exception is thrown:
 /usr/sbin/semanage boolean --modify --on httpd_can_network_connect
Traceback (most recent call last):
  File "/usr/sbin/semanage", line 572, in <module>
    process_args(sys.argv[1:])
  File "/usr/sbin/semanage", line 449, in process_args
    OBJECT.modify(target, value, use_file)
  File "/usr/lib64/python2.7/site-packages/seobject.py", line 2026, in modify
    name = selinux.selinux_boolean_sub(name)
AttributeError: 'module' object has no attribute 'selinux_boolean_sub'

Expected results:
Command should run without errors

Additional info:

Comment 1 Daniel Walsh 2012-11-16 21:09:00 UTC
Fixed policycoreutils-2.1.13-27.fc17