Rely on container-selinux for centos/fedora25/rhel#32437
Conversation
|
ping @runcom as well 👍 |
|
seems fine to me, I'll spin up a F25/F26 vm and test this out. |
|
👍 |
|
Ping |
RH now provides `container-selinux` which provides everything we need for docker's selinux policy. Rely on `container-selinux` where available, and `docker-engine-selinux` when not. This still builds the `docker-engine-selinux` package and presumably makes it available, but is no longer a requirement in the `docker-engine` package preferring `container-selinux` instead. `container-selinux` is available on fedora24, however the version that is available does not set the correct types on the `dockerd` binary. We can use `container-selinux` and just supplement that with some of our own policy, but for now just keep using `docker-engine-selinux` as is. Signed-off-by: Brian Goff <cpuguy83@gmail.com>
63d1077 to
adb2ddf
Compare
|
LGTM stuff works: |
|
Just chatted with @runcom and he may have some time tomorrow to give it a spin, so I suggest to wait until tomorrow (thanks Antonio!) |
|
LGTM! |
|
Thank you @runcom 👍 |
|
All green. |
|
This looks like this has been built. Is the package released yet? I just hit this issue today, in Azure, with docker-ce-17.03.1.ce-1.el7.centos.x86_64. |
|
@cognitiaclaeves It'll be in the 17.06. |
|
I see it now. Is there a work around until then? |
|
Container-selinux is continuously released. The latest package is in fedora-updates. |
|
@cognitiaclaeves Hit what issue, exactly? |
|
Please be aware this affects https://docs.docker.com/engine/installation/linux/docker-ce/centos/ where "Uninstall old version" causes previous up-to-date installations to be uninstalled due to changed dependency. |
RH now provides
container-selinuxwhich provides everything we needfor docker's selinux policy. Rely on
container-selinuxwhereavailable, and
docker-engine-selinuxwhen not.This still builds the
docker-engine-selinuxpackage and presumablymakes it available, but is no longer a requirement in the
docker-enginepackage preferringcontainer-selinuxinstead.container-selinuxis available on fedora24, however the version thatis available does not set the correct types on the
dockerdbinary. Wecan use
container-selinuxand just supplement that with some of ourown policy, but for now just keep using
docker-engine-selinuxas is.ping @andrewhsu @rhatdan