summaryrefslogtreecommitdiff
path: root/contrib/tmpfile
diff options
context:
space:
mode:
authorMatthew Heon <mheon@redhat.com>2021-06-18 16:28:59 -0400
committerMatthew Heon <mheon@redhat.com>2021-06-18 16:32:24 -0400
commit9a02b50551d73c1427d158cca85d020fc71e27a7 (patch)
tree856cbf5e1712bb62419c6acb177a1b9de956ce60 /contrib/tmpfile
parente73a7dadac5a8c74c3a020993de94ed88fd6a04e (diff)
downloadpodman-9a02b50551d73c1427d158cca85d020fc71e27a7.tar.gz
podman-9a02b50551d73c1427d158cca85d020fc71e27a7.tar.bz2
podman-9a02b50551d73c1427d158cca85d020fc71e27a7.zip
Add an entry for `/run/user-$UID/libpod` to tmpfiles
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>
Diffstat (limited to 'contrib/tmpfile')
-rw-r--r--contrib/tmpfile/podman.conf1
1 files changed, 1 insertions, 0 deletions
diff --git a/contrib/tmpfile/podman.conf b/contrib/tmpfile/podman.conf
index 650678a21..bd7dec5ce 100644
--- a/contrib/tmpfile/podman.conf
+++ b/contrib/tmpfile/podman.conf
@@ -2,5 +2,6 @@
# 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