SHA256
1
0
forked from pool/systemd
systemd/0001-SUSE-policy-do-not-clean-tmp-by-default.patch
Franck Bui d74da009d3 Accepting request 755902 from home:fbui:systemd:openSUSE-Factory
- Import commit d8f6a204858bff68b8e0e7be86b418c36087ab2e
  6c5e492a65 cryptsetup: umount encrypted devices before detaching it during shutdown

- Upgrade to v244 (commit 090da85161ceb1ba0b4c208963c7156a8fdf10c6)
  See https://github.com/openSUSE/systemd/blob/SUSE/v243/NEWS for
  details. 
  Legacy and obsolete symlinks have been finally dropped.
  Dropped 0001-logind-keep-backward-compatibility-with-UserTasksMax.patch.
  Users were notified about the deprecation of UserTasksMax option and
  how to move to the new mechanism. The dropin replacement for
  UserTasksMax is therefore no more generated but its use still
  produces a warning.
  Added 0001-SUSE-policy-do-not-clean-tmp-by-default.patch and
  0001-Fix-run-lock-group-to-follow-openSUSE-policy.patch.
  These patches were extracted from the git repo because it's not
  clear where the SUSE tmpfiles specificities should be located.

OBS-URL: https://build.opensuse.org/request/show/755902
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1082
2019-12-11 17:25:24 +00:00

27 lines
795 B
Diff

From b66a7b4b5aa25a1ffb4b76fe9545046dabd92c03 Mon Sep 17 00:00:00 2001
From: Reinhard Max <max@suse.de>
Date: Fri, 19 Apr 2013 16:56:26 +0200
Subject: [PATCH 1/1] SUSE policy: do not clean /tmp by default.
Fix regression in the default for tmp auto-deletion (FATE#314974).
---
tmpfiles.d/tmp.conf | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/tmpfiles.d/tmp.conf b/tmpfiles.d/tmp.conf
index fe5225d751..dedc7569e1 100644
--- a/tmpfiles.d/tmp.conf
+++ b/tmpfiles.d/tmp.conf
@@ -8,5 +8,6 @@
# See tmpfiles.d(5) for details
# Clear tmp directories separately, to make them easier to override
-q /tmp 1777 root root 10d
-q /var/tmp 1777 root root 30d
+# SUSE policy: we don't clean those directories
+q /tmp 1777 root root -
+q /var/tmp 1777 root root -
--
2.16.4