summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorDaniel J Walsh <dwalsh@redhat.com>2021-11-22 14:34:05 -0500
committerDaniel J Walsh <dwalsh@redhat.com>2021-11-23 16:31:54 -0500
commitdf6aa673024c96fb41e0f8170b44b6e7b12aaddb (patch)
tree54fee8347cdfaf931c19ac05da4f3e8ea0da988e /test
parent1be4c36e7ecbe05333e13320ea1e194b0c41b539 (diff)
downloadpodman-df6aa673024c96fb41e0f8170b44b6e7b12aaddb.tar.gz
podman-df6aa673024c96fb41e0f8170b44b6e7b12aaddb.tar.bz2
podman-df6aa673024c96fb41e0f8170b44b6e7b12aaddb.zip
Unset SocketLabel after system finishes checkpointing
This should fix the SELinux issue we are seeing with talking to /run/systemd/private. Fixes: https://github.com/containers/podman/issues/12362 Also unset the XDG_RUNTIME_DIR if set, since we don't know when running as a service if this will cause issue.s Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
Diffstat (limited to 'test')
-rw-r--r--test/system/600-completion.bats4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/system/600-completion.bats b/test/system/600-completion.bats
index ac934732e..f580fc2fe 100644
--- a/test/system/600-completion.bats
+++ b/test/system/600-completion.bats
@@ -258,10 +258,10 @@ function _check_completion_end() {
# create pods for each state
run_podman pod create --name created-$random_pod_name
run_podman pod create --name running-$random_pod_name
- run_podman run -d --name running-$random_pod_name-con --pod running-$random_pod_name $IMAGE top
run_podman pod create --name degraded-$random_pod_name
- run_podman run -d --name degraded-$random_pod_name-con --pod degraded-$random_pod_name $IMAGE echo degraded
run_podman pod create --name exited-$random_pod_name
+ run_podman run -d --name running-$random_pod_name-con --pod running-$random_pod_name $IMAGE top
+ run_podman run -d --name degraded-$random_pod_name-con --pod degraded-$random_pod_name $IMAGE echo degraded
run_podman run -d --name exited-$random_pod_name-con --pod exited-$random_pod_name $IMAGE echo exited
run_podman pod stop exited-$random_pod_name