Description of problem: Installation of package selinux-policy-devel prints the following error: /usr/share/selinux/devel/include/services/container.if: Syntax error on line 42 ' [type=SQUOTE] /usr/share/selinux/devel/include/services/container.if: Syntax error on line 46 ' [type=SQUOTE] This is because it contains a postinstall script: # rpm -q --scripts selinux-policy-devel postinstall scriptlet (using /bin/sh): selinuxenabled && /usr/bin/sepolgen-ifgen 2>/dev/null exit 0 Version-Release number of selected component (if applicable): container-selinux-2.5-1.fc25.noarch How reproducible: Always Steps to Reproduce: 1. Install packages if they are not already installed: dnf install container-selinux selinux-policy-devel 2. To see the error independent of package installation, run /usr/bin/sepolgen-ifgen Actual results: Error messages: /usr/share/selinux/devel/include/services/container.if: Syntax error on line 42 ' [type=SQUOTE] /usr/share/selinux/devel/include/services/container.if: Syntax error on line 46 ' [type=SQUOTE] Expected results: No error messages
Created attachment 1247734 [details] Patch for /usr/share/selinux/devel/include/services/container.if Solution: File /usr/share/selinux/devel/include/services/container.if line 42 should end with a ";" . See patch.
fixed in container-selinux-2.7
container-selinux-2.9-1.fc25 has been submitted as an update to Fedora 25. https://bodhi.fedoraproject.org/updates/FEDORA-2017-018d2c13f7
container-selinux-2.9-1.fc25 has been pushed to the Fedora 25 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-2017-018d2c13f7
container-selinux-2.9-1.fc25 has been pushed to the Fedora 25 stable repository. If problems still persist, please make note of it in this bug report.