Gentoo Archives: gentoo-dev

From: Mike Gilbert <floppym@g.o>
To: gentoo-dev@l.g.o
Cc: pr@g.o, Mike Gilbert <floppym@g.o>
Subject: [gentoo-dev] [PATCH] 2022-11-19-tmpfiles-clean: new item
Date: Wed, 16 Nov 2022 19:53:21
Message-Id: 20221116195249.70664-1-floppym@gentoo.org
1 Signed-off-by: Mike Gilbert <floppym@g.o>
2 ---
3 .../2022-11-19-tmpfiles-clean.en.txt | 19 +++++++++++++++++++
4 1 file changed, 19 insertions(+)
5 create mode 100644 2022-11-19-tmpfiles-clean/2022-11-19-tmpfiles-clean.en.txt
6
7 diff --git a/2022-11-19-tmpfiles-clean/2022-11-19-tmpfiles-clean.en.txt b/2022-11-19-tmpfiles-clean/2022-11-19-tmpfiles-clean.en.txt
8 new file mode 100644
9 index 0000000..8e17e2a
10 --- /dev/null
11 +++ b/2022-11-19-tmpfiles-clean/2022-11-19-tmpfiles-clean.en.txt
12 @@ -0,0 +1,19 @@
13 +Title: systemd-tmpfiles --clean enabled by default
14 +Author: Mike Gilbert <floppym@g.o>
15 +Posted: 2022-11-19
16 +Revision: 1
17 +News-Item-Format: 2.0
18 +Display-If-Installed: sys-apps/systemd-utils[tmpfiles]
19 +
20 +Starting with sys-apps/systemd-utils-251.8-r1, a script is installed in
21 +/etc/cron.daily to run "systemd-tmpfiles --clean" once per day. This
22 +will remove stale temp files based on settings specified in tmpfiles.d.
23 +
24 +This change is meant to mimic the behavior of
25 +systemd-tmpfiles-clean.timer from systemd on systems running OpenRC.
26 +
27 +If you wish to opt-out, take any of the following actions:
28 +
29 +1. Comment out the command in /etc/cron.daily/systemd-tmpfiles-clean, or
30 +2. Add /etc/cron.daily/systemd-tmpfiles-clean to INSTALL_MASK, or
31 +3. Disable or remove the cron daemon on your system.
32 --
33 2.38.1