mirror of https://github.com/ceph/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 <gabrioux@redhat.com>
(cherry picked from commit 80875adba7
)
pull/4053/head
parent
3b40380870
commit
61a52a97e3
|
@ -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 -%}
|
||||
|
|
Loading…
Reference in New Issue