Merge pull request #8241 from rhatdan/tmpfile

Use /tmp/podman-run-* for backup XDG_RUNTIME_DIR
This commit is contained in:
OpenShift Merge Robot
2020-11-06 15:43:33 +00:00
committed by GitHub
5 changed files with 9 additions and 4 deletions

View File

@ -509,6 +509,7 @@ export GOPATH=%{buildroot}/%{gopath}:$(pwd)/vendor:%{gopath}
%{_usr}/lib/systemd/user/podman.socket
%{_usr}/lib/systemd/user/podman-auto-update.service
%{_usr}/lib/systemd/user/podman-auto-update.timer
%{_usr}/lib/tmpfiles.d/podman.conf
%if 0%{?with_devel}
%files -n libpod-devel -f devel.file-list

View File

@ -0,0 +1,4 @@
# /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-.*
d /run/podman 0700 root root

View File

@ -1 +0,0 @@
d /run/podman 0700 root root