From 0d587d8ce00e58d8507632dd3c5ca513fb146fd8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Jeanneret?= Date: Mon, 20 Jul 2020 13:14:08 +0200 Subject: [PATCH] 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 98d2271d1a10a55d745056aef10c94cd4200b2d9) --- deployment/nova/nova-libvirt-container-puppet.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deployment/nova/nova-libvirt-container-puppet.yaml b/deployment/nova/nova-libvirt-container-puppet.yaml index e73ae32b62..0d10e392da 100644 --- a/deployment/nova/nova-libvirt-container-puppet.yaml +++ b/deployment/nova/nova-libvirt-container-puppet.yaml @@ -718,7 +718,7 @@ outputs: - /var/run/libvirt:/var/run/libvirt:shared,z - /var/lib/libvirt:/var/lib/libvirt:shared,z - /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 - if: