From 80875adba791b732713f686a4e4eba182758dc9d Mon Sep 17 00:00:00 2001 From: Guillaume Abrioux Date: Mon, 3 Jun 2019 19:15:30 +0200 Subject: [PATCH] ceph-osd: do not relabel /run/udev in containerized context Otherwise content in /run/udev is mislabeled and prevent some services like NetworkManager from starting. Signed-off-by: Guillaume Abrioux --- roles/ceph-osd/templates/ceph-osd-run.sh.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/ceph-osd/templates/ceph-osd-run.sh.j2 b/roles/ceph-osd/templates/ceph-osd-run.sh.j2 index ba2acf817..755093b49 100644 --- a/roles/ceph-osd/templates/ceph-osd-run.sh.j2 +++ b/roles/ceph-osd/templates/ceph-osd-run.sh.j2 @@ -36,7 +36,7 @@ numactl \ -v /var/lib/ceph:/var/lib/ceph:z \ -v /etc/ceph:/etc/ceph:z \ -v /var/run/ceph:/var/run/ceph:z \ - -v /var/run/udev/:/var/run/udev/:z \ + -v /var/run/udev/:/var/run/udev/ \ {% if ansible_distribution == 'Ubuntu' -%} --security-opt apparmor:unconfined \ {% endif -%} -- 2.39.5