summaryrefslogtreecommitdiffstats
path: root/roles/docker
diff options
context:
space:
mode:
authorScott Dodson <sdodson@redhat.com>2017-10-27 11:00:18 -0400
committerGitHub <noreply@github.com>2017-10-27 11:00:18 -0400
commit5b6b31e36f7be9593206774d06821c1164e2bd0b (patch)
treee2188ec496b2b45313ff03ed259c9c2dcbd0c3ec /roles/docker
parenta43a84708a778836eeaef22f2c63ed54f08d1daf (diff)
parent999efa7376326fef5a26a60d1873ab4e8795d4a7 (diff)
downloadopenshift-5b6b31e36f7be9593206774d06821c1164e2bd0b.tar.gz
openshift-5b6b31e36f7be9593206774d06821c1164e2bd0b.tar.bz2
openshift-5b6b31e36f7be9593206774d06821c1164e2bd0b.tar.xz
openshift-5b6b31e36f7be9593206774d06821c1164e2bd0b.zip
Merge pull request #5905 from ashcrow/restorcon-for-crio
crio: restorcon /var/lib/containers
Diffstat (limited to 'roles/docker')
-rw-r--r--roles/docker/tasks/systemcontainer_crio.yml4
1 files changed, 4 insertions, 0 deletions
diff --git a/roles/docker/tasks/systemcontainer_crio.yml b/roles/docker/tasks/systemcontainer_crio.yml
index 13bbd359e..ee2048f7a 100644
--- a/roles/docker/tasks/systemcontainer_crio.yml
+++ b/roles/docker/tasks/systemcontainer_crio.yml
@@ -166,6 +166,10 @@
dest: /etc/cni/net.d/openshift-sdn.conf
src: 80-openshift-sdn.conf.j2
+- name: Fix SELinux Permissions on /var/lib/containers
+ command: "restorecon -R /var/lib/containers/"
+ changed_when: false
+
- name: Start the CRI-O service
systemd:
name: "cri-o"