From 38c217a0bfd457837fe63aaab0df610348cb79f8 Mon Sep 17 00:00:00 2001 From: Paul Holzinger Date: Tue, 11 Apr 2023 11:00:07 +0200 Subject: [PATCH] pkg/rootless: use catatonit from /usr/libexec/podman The path was missing a slash between the libexec path and the binary name. This was never noticed because the code already falls back to a builtt-in pause process. Fixes: 71f96c2e6ff7 ("rootless: define LIBEXECPODMAN") Signed-off-by: Paul Holzinger --- pkg/rootless/rootless_linux.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/rootless/rootless_linux.c b/pkg/rootless/rootless_linux.c index 016c677ad6..83c256e6b1 100644 --- a/pkg/rootless/rootless_linux.c +++ b/pkg/rootless/rootless_linux.c @@ -278,7 +278,7 @@ do_pause () sigaction (sig[i], &act, NULL); /* Attempt to execv catatonit to keep the pause process alive. */ - execl (LIBEXECPODMAN "catatonit", "catatonit", "-P", NULL); + execl (LIBEXECPODMAN "/catatonit", "catatonit", "-P", NULL); execl ("/usr/bin/catatonit", "catatonit", "-P", NULL); /* and if the catatonit executable could not be found, fallback here... */