diff options
author | Matthew Heon <mheon@redhat.com> | 2021-06-18 16:28:59 -0400 |
---|---|---|
committer | Matthew Heon <mheon@redhat.com> | 2021-06-18 16:32:24 -0400 |
commit | 9a02b50551d73c1427d158cca85d020fc71e27a7 (patch) | |
tree | 856cbf5e1712bb62419c6acb177a1b9de956ce60 /contrib/tmpfile | |
parent | e73a7dadac5a8c74c3a020993de94ed88fd6a04e (diff) | |
download | podman-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.conf | 1 |
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 |