podman/pkg/rootless
Giuseppe Scrivano 7147c935aa
rootless: fix hang when newidmap is not installed
when newidmap is not installed the code would hit the
reexec_in_user_namespace_wait code and wait for the child process to
be terminated.  The child process is blocked waiting on the w pipe.

So make sure to unblock the child process first and then clean it up.

Closes: https://github.com/containers/podman/issues/7776

Signed-off-by: Giuseppe Scrivano <giuseppe@scrivano.org>
2020-09-25 18:08:46 +02:00
..
rootless.go fix lint in pkg/rootless 2020-01-08 15:44:30 +01:00
rootless_linux.c validate fds --preserve-fds 2020-08-04 15:09:17 -04:00
rootless_linux.go rootless: fix hang when newidmap is not installed 2020-09-25 18:08:46 +02:00
rootless_unsupported.go validate fds --preserve-fds 2020-08-04 15:09:17 -04:00