spiegel_podman/pkg/util
Matthew Heon fa9ad1671e Use Libpod tmpdir for pause path
Previously, we always computed pause path from the Rootless
runtime directory. Problem: this does not match the behavior of
Libpod when the directory changes. Libpod will continue to use
the previous directory, cached in the database; Pause pidfiles
will swap to the new path. This is problematic when the directory
needs to exist to write the pidfile, and Libpod is what creates
the directory.

There are two potential solutions - allow the pause pidfile to
move and just make the directory when we want to write it, or use
the cached Libpod paths for a guaranteed location. This patch
does the second, because it seems safer - we will never miss a
previously-existing pidfile because the location is now
consistent.

Fixes #8539

Signed-off-by: Matthew Heon <mheon@redhat.com>
2020-12-07 14:56:03 -05:00
..
camelcase camelcase: fix lint reports 2020-01-25 09:48:37 +01:00
mountOpts.go Add better support for unbindable volume mounts 2020-11-02 07:19:12 -05:00
mountOpts_linux.go Turn off 'noexec' option by default for named volumes 2020-05-20 16:48:20 -04:00
mountOpts_other.go pkg/spec.InitFSMounts: optimize 2020-04-02 07:52:34 -07:00
utils.go Align the podman ps --filter behavior with docker 2020-11-18 11:36:06 +01:00
utils_darwin.go libpod removal from main (phase 2) 2019-06-27 07:56:24 -05:00
utils_linux.go Fix handling of CheckRootlessUIDRange 2020-10-05 10:13:40 -04:00
utils_linux_test.go Fix up errors found by codespell 2020-09-11 06:14:25 -04:00
utils_supported.go Use Libpod tmpdir for pause path 2020-12-07 14:56:03 -05:00
utils_test.go Centralize cores and period/quota conversion code 2020-10-31 10:07:11 -05:00
utils_unsupported.go check --user range for rootless containers 2020-06-02 11:28:58 -04:00
utils_windows.go Use Libpod tmpdir for pause path 2020-12-07 14:56:03 -05:00