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 <gabrioux@redhat.com>
(cherry picked from commit 80875adba7)
pull/4053/head
Guillaume Abrioux 2019-06-03 19:15:30 +02:00 committed by mergify[bot]
parent 3b40380870
commit 61a52a97e3
1 changed files with 1 additions and 1 deletions

View File

@ -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 -%}