mirror of
https://github.com/containers/podman.git
synced 2025-08-06 03:19:52 +08:00

The systemd-tmpfiles configuration is meant preserve important paths in /tmp that are used by Podman against deletion by systemd. However, not all paths we previously used were included. Some older versions used the `/tmp/use-$UID/libpod` directory instead (when `/run/user/$UID` was unavailable). Add an entry for these old paths to ensure tmpfiles treats the directory correctly. Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1960948 Signed-off-by: Matthew Heon <mheon@redhat.com>
8 lines
288 B
Plaintext
8 lines
288 B
Plaintext
# /tmp/podman-run-* directory can contain content for Podman containers that have run
|
|
# for many days. This following line prevents systemd from removing this content.
|
|
x /tmp/podman-run-*
|
|
x /tmp/containers-user-*
|
|
x /tmp/run-*/libpod
|
|
D! /run/podman 0700 root root
|
|
D! /var/lib/cni/networks
|