From: Guillaume Abrioux Date: Mon, 3 Jun 2019 17:15:30 +0000 (+0200) Subject: ceph-osd: do not relabel /run/udev in containerized context X-Git-Tag: v5.0.0alpha1~295 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=80875adba791b732713f686a4e4eba182758dc9d;p=ceph-ansible.git 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 --- 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 -%}