Description of problem: While updating the package "selinux-policy-devel" via dnf, the terminal emulator reports the following exceptions: /usr/share/selinux/devel/include/contrib/docker.if: Syntax error on line 503 docker_t [type=IDENTIFIER] /usr/share/selinux/devel/include/roles/unconfineduser.if: Syntax error on line 706 unconfined_t [type=IDENTIFIER] However, the update proceeds smoothly. Version-Release number of selected component (if applicable): selinux-policy-devel-3.13.1-179 How reproducible: Always Steps to Reproduce: 1. Update selinux-policy-devel via dnf Actual results: Two syntax errors are reported. Expected results: Ideally, the two syntax errors shall be fixed.
THe problem is sepolgen-ifgen does not understand typebounds syntax. interface(`unconfined_typebounds',` gen_require(` type unconfined_t; ') typebounds unconfined_t $1; ')
Created attachment 1138693 [details] sepolgen-typebounds Yes, sepolgen/refparser.py and sepolgen/refpolicy.py files need to be patched.
(In reply to Miroslav Grepl from comment #2) > Created attachment 1138693 [details] > sepolgen-typebounds > > Yes, sepolgen/refparser.py and sepolgen/refpolicy.py files need to be > patched. https://github.com/fedora-selinux/selinux/pull/21
*** Bug 1315629 has been marked as a duplicate of this bug. ***
secilc-2.5-2.fc24 checkpolicy-2.5-2.fc24 policycoreutils-2.5-5.fc24 libselinux-2.5-3.fc24 libsepol-2.5-3.fc24 has been submitted as an update to Fedora 24. https://bodhi.fedoraproject.org/updates/FEDORA-2016-9bdf70e44d
checkpolicy-2.5-2.fc24, libselinux-2.5-3.fc24, libsepol-2.5-3.fc24, policycoreutils-2.5-5.fc24, secilc-2.5-2.fc24 has been pushed to the Fedora 24 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-2016-9bdf70e44d
checkpolicy-2.5-2.fc24, libselinux-2.5-3.fc24, libsepol-2.5-3.fc24, policycoreutils-2.5-5.fc24, secilc-2.5-2.fc24 has been pushed to the Fedora 24 stable repository. If problems still persist, please make note of it in this bug report.