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>
pull/4025/head
Guillaume Abrioux 2019-06-03 19:15:30 +02:00 committed by Dimitri Savineau
parent a78fb209b1
commit 80875adba7
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 -%}