Description of problem: semanage -i of a file produced using semanage in Fedora 16 does not import and results in an error. Version-Release number of selected component (if applicable): policycoreutils-python-2.1.11-18.fc17.i686 How reproducible: always Steps to Reproduce: 1. semanage -i /tmp/local.selinux Actual results: Traceback (most recent call last): File "/sbin/semanage", line 566, in <module> trans.finish() File "/usr/lib/python2.7/site-packages/seobject.py", line 285, in finish self.commit() File "/usr/lib/python2.7/site-packages/seobject.py", line 274, in commit semanage_set_reload(self.sh, self.reload) TypeError: in method 'semanage_set_reload', argument 2 of type 'int' Expected results: Should set the contexts and booleans to what is in the file. Additional info: I tried using cat with a pipe to semanage and got the same result. I do not know if the file being from a Fedora 16 system has anything to do with the problem. I just know that on a fresh Fedora 17 install I wanted to set the selinux contexts on the directories, etc, to what I was using under the previous installation.
*** This bug has been marked as a duplicate of bug 836087 ***