summaryrefslogtreecommitdiff
path: root/hack/podmanv2-retry
diff options
context:
space:
mode:
authorGiuseppe Scrivano <gscrivan@redhat.com>2020-04-29 11:01:56 +0200
committerGiuseppe Scrivano <gscrivan@redhat.com>2020-04-29 11:44:24 +0200
commit89d4940a3787ccc871c92950a79347efc0d5c58c (patch)
treedbdb3c24f28188fd60659ec36363d50da5f4ac05 /hack/podmanv2-retry
parent4e21d09f98d3b6af37f2d6118cd8914674b56ab1 (diff)
downloadpodman-89d4940a3787ccc871c92950a79347efc0d5c58c.tar.gz
podman-89d4940a3787ccc871c92950a79347efc0d5c58c.tar.bz2
podman-89d4940a3787ccc871c92950a79347efc0d5c58c.zip
rootless: move ns open before fork
commit 788fdc685b00dee5ccb594bef845204250c4c123 introduced a race where the target process dies before the child process opens the namespace files. Move the open before the fork so if it fails the parent process can attempt to join a different container instead of failing. Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
Diffstat (limited to 'hack/podmanv2-retry')
0 files changed, 0 insertions, 0 deletions