Fixes selinux relabeling issue for nfs container

Signed-off-by: Teoman ONAY <tonay@ibm.com>
rhcs-4.3
Teoman ONAY 2023-03-02 23:01:48 +01:00 committed by Teoman ONAY
parent bb92e27707
commit 2d0de9184a
1 changed files with 5 additions and 0 deletions

View File

@ -23,7 +23,12 @@ ExecStart=/usr/bin/{{ container_binary }} run --rm --net=host \
-d --log-driver journald --conmon-pidfile /%t/%n-pid --cidfile /%t/%n-cid \ -d --log-driver journald --conmon-pidfile /%t/%n-pid --cidfile /%t/%n-cid \
{% endif %} {% endif %}
--pids-limit={{ 0 if container_binary == 'podman' else -1 }} \ --pids-limit={{ 0 if container_binary == 'podman' else -1 }} \
<<<<<<< HEAD
-v /var/lib/ceph:/var/lib/ceph:z \ -v /var/lib/ceph:/var/lib/ceph:z \
=======
--security-opt label=disable \
-v /var/lib/ceph/bootstrap-rgw/:/var/lib/ceph/bootstrap-rgw:z \
>>>>>>> c1b541f69 (Fixes selinux relabeling issue for nfs container)
-v /etc/ceph:/etc/ceph:z \ -v /etc/ceph:/etc/ceph:z \
-v /var/lib/nfs/ganesha:/var/lib/nfs/ganesha:z \ -v /var/lib/nfs/ganesha:/var/lib/nfs/ganesha:z \
-v /etc/ganesha:/etc/ganesha:z \ -v /etc/ganesha:/etc/ganesha:z \