Skip to content

Commit

Permalink
sys-apps/systemd: Merge "Update noclean-tmp patch"
Browse files Browse the repository at this point in the history
Pull-Request: gentoo#287
  • Loading branch information
mgorny committed Oct 25, 2015
2 parents 3187e6a + cff9b42 commit 0a5ac6b
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 1 deletion.
28 changes: 28 additions & 0 deletions sys-apps/systemd/files/228-noclean-tmp.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
From b23c098d5787e06770872b19f83fffa14d8a7d14 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 6bbd1aa..a361062 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
-q /tmp 1777 root root 10d
-q /var/tmp 1777 root root 30d
+q /tmp 1777 root root
+q /var/tmp 1777 root root

# Exclude namespace mountpoints created with PrivateTmp=yes
x /tmp/systemd-private-%b-*
--
2.4.10

2 changes: 1 addition & 1 deletion sys-apps/systemd/systemd-9999.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ src_prepare() {
# Bug 463376
sed -i -e 's/GROUP="dialout"/GROUP="uucp"/' rules/*.rules || die
epatch "${FILESDIR}/218-Dont-enable-audit-by-default.patch"
epatch "${FILESDIR}/226-noclean-tmp.patch"
epatch "${FILESDIR}/228-noclean-tmp.patch"
epatch_user
eautoreconf
}
Expand Down

0 comments on commit 0a5ac6b

Please sign in to comment.