diff options
author | Chris Evich <cevich@redhat.com> | 2021-08-02 16:22:59 -0400 |
---|---|---|
committer | Chris Evich <cevich@redhat.com> | 2021-08-17 16:16:25 -0400 |
commit | 37b22af331d445e7d20a4a0d71dd32d7d042d1c6 (patch) | |
tree | 420d15dd8d511215f6e3799625bfebb2a691d2b1 /test/compose | |
parent | daa311db397eea0e9180cfc85d226ea0675b9cd7 (diff) | |
download | podman-37b22af331d445e7d20a4a0d71dd32d7d042d1c6.tar.gz podman-37b22af331d445e7d20a4a0d71dd32d7d042d1c6.tar.bz2 podman-37b22af331d445e7d20a4a0d71dd32d7d042d1c6.zip |
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 <cevich@redhat.com>
Diffstat (limited to 'test/compose')
-rw-r--r-- | test/compose/mount_and_label/docker-compose.yml | 2 |
1 files changed, 2 insertions, 0 deletions
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" |