summaryrefslogtreecommitdiff
path: root/cmd/podman/common/specgen.go
diff options
context:
space:
mode:
authorJonathan Dieter <jonathan.dieter@spearline.com>2020-08-11 15:51:16 +0100
committerJonathan Dieter <jonathan.dieter@spearline.com>2020-08-11 16:42:39 +0100
commitec231973d813e68479b99382350a8684d9c0a685 (patch)
tree1111f512d30a97b016eca0463415535c82703377 /cmd/podman/common/specgen.go
parenta90ae00df1c2be0f3d46d4e7cd292599c93ded0f (diff)
downloadpodman-ec231973d813e68479b99382350a8684d9c0a685.tar.gz
podman-ec231973d813e68479b99382350a8684d9c0a685.tar.bz2
podman-ec231973d813e68479b99382350a8684d9c0a685.zip
Fix hang when `path` doesn't exist
I'm not sure if this is an OS-specific issue, but on CentOS 8, if `path` doesn't exist, this hangs while waiting to read from this socket, even though the socket is closed by the `reexec_in_user_namespace`. Switching to a pipe fixes the problem, and pipes shouldn't be an issue since this is Linux-specific code. Signed-off-by: Jonathan Dieter <jonathan.dieter@spearline.com>
Diffstat (limited to 'cmd/podman/common/specgen.go')
0 files changed, 0 insertions, 0 deletions