diff options
author | Giuseppe Scrivano <gscrivan@redhat.com> | 2020-04-29 11:01:56 +0200 |
---|---|---|
committer | Giuseppe Scrivano <gscrivan@redhat.com> | 2020-04-29 11:44:24 +0200 |
commit | 89d4940a3787ccc871c92950a79347efc0d5c58c (patch) | |
tree | dbdb3c24f28188fd60659ec36363d50da5f4ac05 /hack/podmanv2-retry | |
parent | 4e21d09f98d3b6af37f2d6118cd8914674b56ab1 (diff) | |
download | podman-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