Description of problem:Error 2 when updating to selinux-policy-targeted.noarch 0:3.9.16-38.fc15 Version-Release number of selected component (if applicable): selinux-policy-targeted.noarch 0:3.9.16-38.fc15 How reproducible: update or reinstall selinux-policy-targeted.noarch 0:3.9.16-38.fc15 Steps to Reproduce: 1. 2. 3. Actual results: selinux-policy-targeted-3.9.16-38.fc15.noarch.rpm 2.9 MB 00:02 Running rpm_check_debug Running Transaction Test Transaction Test Succeeded Running Transaction Installing : selinux-policy-targeted-3.9.16-38.fc15.noarch 1/1 libsemanage.semanage_reload_policy: load_policy returned error code 2. libsemanage.semanage_install_active: Could not copy /etc/selinux/targeted/modules/active/policy.kern to /etc/selinux/targeted/policy/policy.24. (No such file or directory). semodule: Failed! Installed: selinux-policy-targeted.noarch 0:3.9.16-38.fc15 Expected results: Additional info: load_policy returned error code 2, but, package was installed. This laptop is runnning F15 KDE with updates-testing enabled.
So far I'm not getting any AVC errors. I'm wondering if this error has reduced the functionality of selinux.
Is there a policy.24 file in /etc/selinux/targeted/policy? If you try to reinstall policy # yum reinstall selinux-policy-targeted are you still getting this?
I originally tried "yum reinstall selinux-policy-targeted" and received the same error. That's why I filed the bug. Today, after reading your email, I tried again, and no error came up. There is a policy.24 in /etc/selinux/targeted/policy, and I'm still not receiving any AVC errors, so, I'll chalk this up to gremlins, unless subsequent errors appear.