forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
sys-apps/systemd: Disable cleaning of /tmp and /var/tmp
Bug: https://bugs.gentoo.org/490676 Package-Manager: portage-2.2.21_p119
- Loading branch information
Showing
5 changed files
with
995 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
From 63e5f76a91e2401e8a6227d0d8ae5e75dd2213b0 Mon Sep 17 00:00:00 2001 | ||
From: Mike Gilbert <[email protected]> | ||
Date: Fri, 25 Sep 2015 10:26:18 -0400 | ||
Subject: [PATCH] tmpfiles: Disable cleaning of /tmp and /var/tmp | ||
|
||
Bug: https://bugs.gentoo.org/490676 | ||
--- | ||
tmpfiles.d/tmp.conf | 4 ++-- | ||
1 file changed, 2 insertions(+), 2 deletions(-) | ||
|
||
diff --git a/tmpfiles.d/tmp.conf b/tmpfiles.d/tmp.conf | ||
index b80dab4..241fad5 100644 | ||
--- a/tmpfiles.d/tmp.conf | ||
+++ b/tmpfiles.d/tmp.conf | ||
@@ -8,8 +8,8 @@ | ||
# See tmpfiles.d(5) for details | ||
|
||
# Clear tmp directories separately, to make them easier to override | ||
-d /tmp 1777 root root 10d | ||
-d /var/tmp 1777 root root 30d | ||
+v /tmp 1777 root root | ||
+v /var/tmp 1777 root root | ||
|
||
# Exclude namespace mountpoints created with PrivateTmp=yes | ||
x /tmp/systemd-private-%b-* | ||
-- | ||
2.5.3 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
From 3a44775e2618896526d093f7142934205e46d33a Mon Sep 17 00:00:00 2001 | ||
From: Mike Gilbert <[email protected]> | ||
Date: Fri, 25 Sep 2015 10:26:18 -0400 | ||
Subject: [PATCH] tmpfiles: Disable cleaning of /tmp and /var/tmp | ||
|
||
Bug: https://bugs.gentoo.org/490676 | ||
--- | ||
tmpfiles.d/tmp.conf | 4 ++-- | ||
1 file changed, 2 insertions(+), 2 deletions(-) | ||
|
||
diff --git a/tmpfiles.d/tmp.conf b/tmpfiles.d/tmp.conf | ||
index ffdd82f..241fad5 100644 | ||
--- a/tmpfiles.d/tmp.conf | ||
+++ b/tmpfiles.d/tmp.conf | ||
@@ -8,8 +8,8 @@ | ||
# See tmpfiles.d(5) for details | ||
|
||
# Clear tmp directories separately, to make them easier to override | ||
-v /tmp 1777 root root 10d | ||
-v /var/tmp 1777 root root 30d | ||
+v /tmp 1777 root root | ||
+v /var/tmp 1777 root root | ||
|
||
# Exclude namespace mountpoints created with PrivateTmp=yes | ||
x /tmp/systemd-private-%b-* | ||
-- | ||
2.5.3 | ||
|
Oops, something went wrong.