Description of problem: During upgrade to selinux-policy-3.14.2-44.fc29: Installing : selinux-policy-3.14.2-44.fc29.noarch 38/640 Running scriptlet: selinux-policy-3.14.2-44.fc29.noarch 38/640 Running scriptlet: selinux-policy-minimum-3.14.2-44.fc29.noarch 39/640 Installing : selinux-policy-minimum-3.14.2-44.fc29.noarch 39/640 Running scriptlet: selinux-policy-minimum-3.14.2-44.fc29.noarch 39/640 Traceback (most recent call last): File "/usr/sbin/semanage", line 28, in <module> import seobject File "/usr/lib/python3.7/site-packages/seobject.py", line 1039, in <module> class portRecords(semanageRecords): File "/usr/lib/python3.7/site-packages/seobject.py", line 1041, in portRecords valid_types = list(list(sepolicy.info(sepolicy.ATTRIBUTE, "port_type"))[0]["types"]) File "/usr/lib/python3.7/site-packages/sepolicy/__init__.py", line 197, in <genexpr> return ({ File "/usr/lib64/python3.7/site-packages/setools/typeattrquery.py", line 65, in results for attr in self.policy.typeattributes(): AttributeError: 'NoneType' object has no attribute 'typeattributes' Running scriptlet: tpm2-abrmd-selinux-2.0.0-2.fc29.noarch 40/640 Installing : tpm2-abrmd-selinux-2.0.0-2.fc29.noarch 40/640 Running scriptlet: tpm2-abrmd-selinux-2.0.0-2.fc29.noarch 40/640 Failed to resolve roletype statement at /var/lib/selinux/targeted/tmp/modules/200/tabrmd/cil:2 /usr/sbin/semodule: Failed! $ getenforce Disabled Version-Release number of selected component (if applicable): selinux-policy-3.14.2-44.fc29.noarch tpm2-abrmd-selinux-2.0.0-2.fc29.noarch
https://lore.kernel.org/selinux/20190103120340.2695-1-plautrba@redhat.com/T/#u
policycoreutils-2.8-15.fc29 libselinux-2.8-6.fc29 libsepol-2.8-3.fc29 libsemanage-2.8-8.fc29 checkpolicy-2.8-3.fc29 has been submitted as an update to Fedora 29. https://bodhi.fedoraproject.org/updates/FEDORA-2019-16fd3acb03
checkpolicy-2.8-3.fc29, libselinux-2.8-6.fc29, libsemanage-2.8-8.fc29, libsepol-2.8-3.fc29, policycoreutils-2.8-15.fc29 has been pushed to the Fedora 29 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2019-16fd3acb03
checkpolicy-2.8-3.fc29, libselinux-2.8-6.fc29, libsemanage-2.8-8.fc29, libsepol-2.8-3.fc29, policycoreutils-2.8-15.fc29 has been pushed to the Fedora 29 stable repository. If problems still persist, please make note of it in this bug report.