From 9a02b50551d73c1427d158cca85d020fc71e27a7 Mon Sep 17 00:00:00 2001 From: Matthew Heon Date: Fri, 18 Jun 2021 16:28:59 -0400 Subject: 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 --- contrib/tmpfile/podman.conf | 1 + 1 file changed, 1 insertion(+) 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 -- cgit v1.2.3-54-g00ecf