aboutsummaryrefslogtreecommitdiffstats
path: root/tmpfilesd-sos.conf
diff options
context:
space:
mode:
authorEric Desrochers <eric.desrochers@canonical.com>2020-08-11 15:20:08 -0400
committerJake Hunsaker <jhunsake@redhat.com>2020-08-13 10:13:50 -0400
commit1ec1bcc94f7e51fd934d851c215e6fddeb3102ad (patch)
treef70e825f428119c62b18faf07578c952d59641a2 /tmpfilesd-sos.conf
parentf1d0643ba87d80ac769e486b9b73b08fd2ea6c6f (diff)
downloadsos-1ec1bcc94f7e51fd934d851c215e6fddeb3102ad.tar.gz
[tmpfiles.d] Provide a tmpfiles.d conf example
sos will now enforce /var/tmp to store its content. This example is for vendors such as Debian/Ubuntu without a current /var/tmp systemd-tmpfiles cleaning directive in place. Debian bug reference: #966621 Closes: #2178 Resolves: #2195 Signed-off-by: Eric Desrochers <eric.desrochers@canonical.com> Signed-off-by: Jake Hunsaker <jhunsake@redhat.com>
Diffstat (limited to 'tmpfilesd-sos.conf')
-rw-r--r--tmpfilesd-sos.conf4
1 files changed, 4 insertions, 0 deletions
diff --git a/tmpfilesd-sos.conf b/tmpfilesd-sos.conf
new file mode 100644
index 00000000..f76b357b
--- /dev/null
+++ b/tmpfilesd-sos.conf
@@ -0,0 +1,4 @@
+# Cleaning the contents of extracted sosreport directories.
+#
+# Type Path Mode User Group Age Argument
+e /var/tmp/sosreport* - - - 30d