Description of problem: Issuing the command rpm -Uvh selinux-policy-strict_2.2.43-4.fc5_noarch.rpm produces libsepol.scope_copy_callback: authlogin: Duplicate declaration in module: type/attribute system_chkpwd_t libsemanage.semanage_link_sandbox: Link packages failed semodule: Failed! Version-Release number of selected component (if applicable): selinux-policy-strict_2.2.43-4.fc5_noarch.rpm How reproducible: Always Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Should install cleanly Additional info:
The Problem persists with selinux-policy-strict 2.2.47-3.fc5
Which loadable modules to you have installed? If you have the authlogin.pp installed, execute the following semodule -r authlogin rm /usr/share/selinux/strict/authlogin.pp Then install the strict policy package. This is a problem caused a while ago by a strict policy package. If you are running targeted policy you can just remove strict policy package all together.
Running semodule -r authlogin\ produces libsemanage.semanage_direct_remove: Module authlogin was not found. semodule: Failed on authlogin! and then of course rm /usr/share/selinux/strict/authlogin.pp produces semodule: Failed on authlogin!
If you are not running strict do the following yum remove selinux-policy-strict rm -rf /etc/selinux/strict rm -rf /usr/share/selinux/strict Now if you reinstall strict policy everything should work.
That did the trick... Thank you.