Bug 1024217

Summary: Error while updating: libsepol.print_missing_requirements: icecream's global requirements were not met: bool init_systemd (No such file or directory)
Product: [Fedora] Fedora Reporter: Petr Pisar <ppisar>
Component: icecreamAssignee: Michal Schmidt <mschmidt>
Status: CLOSED WORKSFORME QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 19CC: dominick.grift, dwalsh, jones.peter.busi, lvrabec, mgrepl, mschmidt
Target Milestone: ---Keywords: Reopened
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-01-05 08:48:27 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Petr Pisar 2013-10-29 07:11:13 UTC
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.

Comment 1 Petr Pisar 2013-10-29 07:13:44 UTC
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.

Comment 2 Peter H. Jones 2014-09-15 09:14:53 UTC
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 .

Comment 3 Daniel Walsh 2015-01-03 15:10:51 UTC
Remove the icecream.pp file should clean this up.

semodule -r icecream

Since we never shipped icecream policy we really can not fix it.

Comment 4 Petr Pisar 2015-01-05 07:22:11 UTC
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

Comment 5 Michal Schmidt 2015-01-05 08:25:52 UTC
> icecream-1.0.1-11.20140822git.fc20.x86_64

Are you still seeing the error with this icecream version?

Comment 6 Petr Pisar 2015-01-05 08:48:27 UTC
(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).