228-noclean-tmp.patch 804 B

1234567891011121314151617181920212223242526272829
  1. From b23c098d5787e06770872b19f83fffa14d8a7d14 Mon Sep 17 00:00:00 2001
  2. From: Mike Gilbert <floppym@gentoo.org>
  3. Date: Fri, 25 Sep 2015 10:26:18 -0400
  4. Subject: [PATCH] tmpfiles: Disable cleaning of /tmp and /var/tmp
  5. Bug: https://bugs.gentoo.org/490676
  6. ---
  7. tmpfiles.d/tmp.conf | 4 ++--
  8. 1 file changed, 2 insertions(+), 2 deletions(-)
  9. diff --git a/tmpfiles.d/tmp.conf b/tmpfiles.d/tmp.conf
  10. index 6bbd1aa..a361062 100644
  11. --- a/tmpfiles.d/tmp.conf
  12. +++ b/tmpfiles.d/tmp.conf
  13. @@ -8,8 +8,8 @@
  14. # See tmpfiles.d(5) for details
  15. # Clear tmp directories separately, to make them easier to override
  16. -q /tmp 1777 root root 10d
  17. -q /var/tmp 1777 root root 30d
  18. +q /tmp 1777 root root
  19. +q /var/tmp 1777 root root
  20. # Exclude namespace mountpoints created with PrivateTmp=yes
  21. x /tmp/systemd-private-%b-*
  22. --
  23. 2.4.10