summaryrefslogtreecommitdiff
path: root/contrib/spec
diff options
context:
space:
mode:
authorDaniel J Walsh <dwalsh@redhat.com>2020-11-04 09:51:26 -0500
committerDaniel J Walsh <dwalsh@redhat.com>2020-11-04 15:32:00 -0500
commit3daef2e82638a7bdae5037d4fc0d8918a57368e3 (patch)
treeeb5f529c04a8878327ddbe32f640d1461497c265 /contrib/spec
parent7699557b5d644c31b139b24eb2a260a6ec624b19 (diff)
downloadpodman-3daef2e82638a7bdae5037d4fc0d8918a57368e3.tar.gz
podman-3daef2e82638a7bdae5037d4fc0d8918a57368e3.tar.bz2
podman-3daef2e82638a7bdae5037d4fc0d8918a57368e3.zip
Use /tmp/podman-run-* for backup XDG_RUNTIME_DIR
We need to block systemd from cleaning up this directory by dropping a /usr/lib/tmpfiles.d/podman.conf file in place. Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
Diffstat (limited to 'contrib/spec')
-rw-r--r--contrib/spec/podman.spec.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/contrib/spec/podman.spec.in b/contrib/spec/podman.spec.in
index 2e266b59f..2a3041ccc 100644
--- a/contrib/spec/podman.spec.in
+++ b/contrib/spec/podman.spec.in
@@ -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