Skip to content
This repository has been archived by the owner on Feb 29, 2024. It is now read-only.

Commit

Permalink
Drop the relabel flag for bind-mount
Browse files Browse the repository at this point in the history
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 98d2271)
  • Loading branch information
cjeanner committed Jul 20, 2020
1 parent de91091 commit 0d587d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion deployment/nova/nova-libvirt-container-puppet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 0d587d8

Please sign in to comment.