Skip to content

Commit

Permalink
each container in run_change_password_test mounts its own volume
Browse files Browse the repository at this point in the history
selinux does not allow two containers accesing one mounting directory if
mounted with Z option
  • Loading branch information
zmiklank committed Dec 7, 2023
1 parent 2882158 commit 62a0e88
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions test/run_test
Original file line number Diff line number Diff line change
Expand Up @@ -634,6 +634,11 @@ $volume_options

echo " Changing passwords"

# create separate mounting directory for second container, as selinux does
# not allow two containers accesing one mounting directory if mounted with
# Z option
create_volume_dir || ret=1

DOCKER_ARGS="
-e POSTGRESQL_DATABASE=${database}
-e POSTGRESQL_USER=${user}
Expand Down

0 comments on commit 62a0e88

Please sign in to comment.