When SELinux is enforcing, use the docker volume mount flag :z for the docker-puppet tool's bind-mounted volumes in RW mode. Note, if a volume mount with a Z, then the label will be specific to the container, and not be able to be shared between containers. Volumes from /etc/pki mounted RO do not require the context changes. For those RO volumes that do require it, use :ro,z. For deploy-steps, make sure ansible file resources in /var/lib/ are enforced the same SELinux context attributes what docker's :z provides. Partial-bug: #1682179 Related-bug: #1723003 Change-Id: Idc0caa49573bd88e8410d3d4217fd39e9aabf8f2 Signed-off-by: Bogdan Dobrelya <bdobreli@redhat.com>
657 B
657 B