Skip to content

Commit 1567d0e

Browse files
hhorakzmiklank
authored andcommitted
Revert "each container in run_change_password_test mounts its own volume"
This reverts commit 62a0e88. Creating a new volume directory was actually NOOP, because the variable volume_options was not updated. What we need to get rid of SELinux messages that this fix tried to address is to properly shut down previous container. That will be done in the following commit. Background: podman's :Z modificator for volumes works the way that the latest container run with the same volume directory mounted with :Z modificator has access, the previous containers are kept running, but access to the shared directory is suddenly removed. That caused the first instance of PostgreSQL server to crash with SIGSEGV actually, while triggering some SELinux error message during that.
1 parent 62a0e88 commit 1567d0e

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

test/run_test

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -634,11 +634,6 @@ $volume_options
634634

635635
echo " Changing passwords"
636636

637-
# create separate mounting directory for second container, as selinux does
638-
# not allow two containers accesing one mounting directory if mounted with
639-
# Z option
640-
create_volume_dir || ret=1
641-
642637
DOCKER_ARGS="
643638
-e POSTGRESQL_DATABASE=${database}
644639
-e POSTGRESQL_USER=${user}

0 commit comments

Comments
 (0)