]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
Fixes selinux relabeling issue for nfs container
authorTeoman ONAY <tonay@ibm.com>
Thu, 2 Mar 2023 22:01:48 +0000 (23:01 +0100)
committerTeoman ONAY <tonay@redhat.com>
Tue, 11 Jul 2023 09:35:19 +0000 (11:35 +0200)
Signed-off-by: Teoman ONAY <tonay@ibm.com>
roles/ceph-nfs/templates/ceph-nfs.service.j2

index 3d4257e37fd3d4d1749f3b79b9f03921cd676ef1..82c0c1c8a662c25f4ac8c328d809d2af76b8157d 100644 (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 \
 {% endif %}
   --pids-limit={{ 0 if container_binary == 'podman' else -1 }} \
+<<<<<<< HEAD
   -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 /var/lib/nfs/ganesha:/var/lib/nfs/ganesha:z \
   -v /etc/ganesha:/etc/ganesha:z \