Description of problem: In the postinstall script of the s-p-t-source package, there is a test if [ "${SELINUXTYPE}" = "targeted" -a /usr/sbin/selinuxenabled ]; then This is true if $SELINUXTYPE is targeted, and if the string /usr/sbin/selinuxanabled is non-null. The latter is of course always true. But I bet the intended test is to see if SELinux is enabled, which is achieved by executing the command instead. As in this expression if [ "${SELINUXTYPE}" = "targeted" ] && /usr/sbin/selinuxenabled; then Version-Release number of selected component (if applicable): selinux-policy-targeted-1.23.14-2.src.rpm Additional info: The same problem is true in the strict policy. Do you want a separate bugzilla or do you fix both from this report?
Fixed in selinux-policy-*-1.23.17-3
Now the postinstall script has a syntax error. Try replacing the '-a' on line 229 with a '&&' instead (-: