From dc70382886c9ae14c57277eabe3d2ce552c618fd Mon Sep 17 00:00:00 2001 From: Chris Evich Date: Mon, 2 Aug 2021 16:22:59 -0400 Subject: Fix AVC denials in tests of volume mounts This becomes a problem on hosts with upgraded policies. Ref: https://github.com/containers/podman/issues/10522 Also, made a small change to compose-test setup to reduce runtime. Signed-off-by: Chris Evich --- test/compose/mount_and_label/docker-compose.yml | 2 ++ 1 file changed, 2 insertions(+) (limited to 'test/compose/mount_and_label') diff --git a/test/compose/mount_and_label/docker-compose.yml b/test/compose/mount_and_label/docker-compose.yml index 112d7e134..81fda2512 100644 --- a/test/compose/mount_and_label/docker-compose.yml +++ b/test/compose/mount_and_label/docker-compose.yml @@ -6,5 +6,7 @@ services: - '5000:5000' volumes: - /tmp/data:/data:ro + security_opt: + - label=disable labels: - "io.podman=the_best" -- cgit v1.2.3-54-g00ecf