Hide Forgot
While upgrading or reinstalling selinux-policy (selinux-policy-3.12.1-74.11.fc19 or 3.12.1-74.10.fc19) I get following error message: Running transaction Instalování: selinux-policy-3.12.1-74.11.fc19.noarch 1/1 libsepol.print_missing_requirements: icecream's global requirements were not met: bool init_systemd (No such file or directory). libsemanage.semanage_link_sandbox: Link packages failed (No such file or directory). semodule: Failed! I guess something is wrong with policies for icecream package which I have installed.
Maybe it's because icecream has never been built for F19. There is F18 build in F19 repositories. Next successful icecream build is for F20.
Got a similar message in an experimental live build: "Preparing... ######################################## Updating / installing... selinux-policy-3.13.1-81.fc21 ######################################## selinux-policy-devel-3.13.1-81.fc21 ######################################## selinux-policy-minimum-3.13.1-81.fc21 ######################################## libsepol.print_missing_requirements: apache's global requirements were not met: type/attribute automount_tmp_t (No such file or directory). libsemanage.semanage_link_sandbox: Link packages failed (No such file or directory). /usr/sbin/semodule: Failed! selinux-policy-mls-3.13.1-81.fc21 ######################################## selinux-policy-targeted-3.13.1-81.fc21######################################## Cleaning up / removing... selinux-policy-targeted-3.13.1-79.fc21######################################## selinux-policy-mls-3.13.1-79.fc21 ######################################## selinux-policy-minimum-3.13.1-79.fc21 ######################################## selinux-policy-devel-3.13.1-79.fc21 ######################################## selinux-policy-3.13.1-79.fc21 ######################################## " In other words, I was updating from selinux-policy-minimum-3.13.1-79.fc21 to selinux-policy-minimum-3.13.1-81.fc21 .
Remove the icecream.pp file should clean this up. semodule -r icecream Since we never shipped icecream policy we really can not fix it.
I'm sorry, but the policy is delivered by the icecream package: # rpm -qf /usr/share/selinux/*/icecream.pp icecream-1.0.1-11.20140822git.fc20.x86_64 icecream-1.0.1-11.20140822git.fc20.x86_64 icecream-1.0.1-11.20140822git.fc20.x86_64
> icecream-1.0.1-11.20140822git.fc20.x86_64 Are you still seeing the error with this icecream version?
(In reply to Michal Schmidt from comment #5) > > icecream-1.0.1-11.20140822git.fc20.x86_64 > > Are you still seeing the error with this icecream version? Not anymore. Tested in F19 (icecream-1.0.1-11.20140822git.fc19.x86_64, selinux-policy-3.12.1-74.30.fc19.noarch), F20 (icecream-1.0.1-11.20140822git.fc20.x86_64, selinux-policy-3.12.1-196.fc20.noarch) and F22 (icecream-1.0.1-11.20140822git.fc22.x86_64, selinux-policy-3.13.1-101.fc22.noarch).