Drop the relabel flag for bind-mount

Since this bind-mount isn't shared with any other container, remove its
"relabel" flag (:z).

This relabelling is especially useless since the directory creation AND
openstack-selinux sets its type to a sensible value. We can therefore
remove it and prevent possible issues in the future.

Closes-Bug: #1888216
Change-Id: I1e7ddb3bbb3825db805f137ea9a2501878f380d4
(cherry picked from commit 98d2271d1a)
This commit is contained in:
Cédric Jeanneret 2020-07-20 13:14:08 +02:00
parent de91091628
commit 0d587d8ce0
1 changed files with 1 additions and 1 deletions

View File

@ -718,7 +718,7 @@ outputs:
- /var/run/libvirt:/var/run/libvirt:shared,z - /var/run/libvirt:/var/run/libvirt:shared,z
- /var/lib/libvirt:/var/lib/libvirt:shared,z - /var/lib/libvirt:/var/lib/libvirt:shared,z
- /var/log/libvirt/qemu:/var/log/libvirt/qemu:ro - /var/log/libvirt/qemu:/var/log/libvirt/qemu:ro
- /var/lib/vhost_sockets:/var/lib/vhost_sockets:z - /var/lib/vhost_sockets:/var/lib/vhost_sockets
- /var/lib/nova:/var/lib/nova:shared - /var/lib/nova:/var/lib/nova:shared
- -
if: if: