2013-04-19 22:31:17 +02:00
|
|
|
From: Reinhard Max <max@suse.de>
|
|
|
|
Date: Fri, 19 Apr 2013 16:12:28 +0200
|
|
|
|
Subject: systemd tmp safe defaults
|
2013-04-19 16:00:28 +02:00
|
|
|
|
2013-04-19 22:31:17 +02:00
|
|
|
Fix regression in the default for tmp auto-deletion (FATE#314974).
|
|
|
|
SUSE policy is to not clean /tmp by default.
|
|
|
|
---
|
2015-02-16 12:36:25 +01:00
|
|
|
tmpfiles.d/tmp.conf | 5 +++--
|
2013-04-19 22:31:17 +02:00
|
|
|
1 file changed, 3 insertions(+), 2 deletions(-)
|
|
|
|
|
2015-12-02 16:45:15 +01:00
|
|
|
Index: systemd-228/tmpfiles.d/tmp.conf
|
2015-02-16 12:36:25 +01:00
|
|
|
===================================================================
|
2015-12-02 16:45:15 +01:00
|
|
|
--- systemd-228.orig/tmpfiles.d/tmp.conf
|
|
|
|
+++ systemd-228/tmpfiles.d/tmp.conf
|
2013-04-19 22:31:17 +02:00
|
|
|
@@ -8,8 +8,9 @@
|
2013-04-19 16:00:28 +02:00
|
|
|
# See tmpfiles.d(5) for details
|
|
|
|
|
|
|
|
# Clear tmp directories separately, to make them easier to override
|
2015-12-02 16:45:15 +01:00
|
|
|
-q /tmp 1777 root root 10d
|
|
|
|
-q /var/tmp 1777 root root 30d
|
|
|
|
+# SUSE policy: we do not clean these directories
|
|
|
|
+q /tmp 1777 root root -
|
|
|
|
+q /var/tmp 1777 root root -
|
2013-04-19 16:00:28 +02:00
|
|
|
|
|
|
|
# Exclude namespace mountpoints created with PrivateTmp=yes
|
2014-02-28 18:10:52 +01:00
|
|
|
x /tmp/systemd-private-%b-*
|