Description of problem: I got the following when installing 'policy' while selinux was turned off: 8:policy warning: /etc/security/selinux/file_contexts created as /etc/security/selinux/file_contexts.rpmnew ########################################### [ 12%] warning: /etc/security/selinux/policy.16 created as /etc/security/selinux/policy.16.rpmnew error: %post(policy-1.10.1-4) scriptlet failed, exit status 1 As this script looks like follows: [ -x /usr/bin/selinuxenabled ] && /usr/bin/selinuxenabled && /usr/sbin/load_policy /etc/security/selinux/policy.`cat /selinux/policyvers` I am somewhat at loss here. A non-escaped EOL on the first line? It would seem that trailing '&&' would be enough but maybe in a context that executes this makes a difference? Version-Release number of selected component (if applicable): policy-1.10.1-4
policy-1.11.1-1 Fixes this. Basically if the script does not execute anything then it exits with an error. So I had to add an exit 0 after this line. Dan