Skip to content

Commit

Permalink
Add an entry for /run/user-$UID/libpod to tmpfiles
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
mheon committed Jun 18, 2021
1 parent e73a7da commit 9a02b50
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions contrib/tmpfile/podman.conf
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 9a02b50

Please sign in to comment.