+++ This bug was initially created as a clone of Bug #1272846 +++
Description of problem:
With the current policy, we need to define rules for types which are provided by distribution in docker-selinux policy which means we need to require private types.
https://github.com/fedora-cloud/docker-selinux/blob/master/docker.te
optional_policy(`
gen_require(`
type pcp_pmcd_t;
')
docker_manage_lib_files(pcp_pmcd_t)
')
These rules should be a part of Fedora distro policy. We need to have a way how to provide docker.if which reflects docker.if shipped by docker-selinux.rpm.
Or docker-selinux probably will require the proper selinux-policy version
Requires: >= selinux-policy-3.13.1-155
But not sure against which docker-selinux version we should conflict. I mean we need to have a version where you removed docker.if.