Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
util: specify a not empty pause dir for root too
commit b3014c1 changed GetRootlessRuntimeDir() to return an empty string for root, so that its value is not exported as XDG_RUNTIME_DIR, and other programs like crun can use a better default. Now GetRootlessPauseProcessPidPath() uses homedir.GetRuntimeDir(). The homedir.GetRuntimeDir() function returns a value also when running as root so it can be used inside a nested Podman. Closes: containers#22327 Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
- Loading branch information