Summary: | sys-apps/systemd-utils-252.7 is adding tmp file management without the administrator's permission | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Christopher Layne <clayne> |
Component: | Current packages | Assignee: | Gentoo systemd Team <systemd> |
Status: | RESOLVED NEEDINFO | ||
Severity: | major | CC: | gentoo, sam |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: |
https://bugs.gentoo.org/show_bug.cgi?id=490676 https://bugs.gentoo.org/show_bug.cgi?id=910233 https://bugs.gentoo.org/show_bug.cgi?id=917777 |
||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Christopher Layne
2023-03-08 01:55:03 UTC
It's not that commit, it's that 252 was stabled earlier. Have you followed https://www.gentoo.org/support/news-items/2022-11-21-tmpfiles-clean.html? And I see now there was a news item on it: clayne@mercury:~ $ sudo eselect news read 18 2022-11-21-tmpfiles-clean Title systemd-tmpfiles --clean enabled by default Author Mike Gilbert <floppym@gentoo.org> Posted 2022-11-21 Revision 1 Starting with sys-apps/systemd-utils-251.8-r1, a script is installed in /etc/cron.daily to run "systemd-tmpfiles --clean" once per day. This will remove stale temp files based on settings specified in tmpfiles.d. This change is meant to mimic the behavior of systemd-tmpfiles-clean.timer from systemd on systems running OpenRC. If you wish to opt-out, simply comment out the command in /etc/cron.daily/systemd-tmpfiles-clean. However, this is the wrong approach IMO. It should *not* be opt-out, it should be *opt-in*. It's a core tenant of how things are done with all of this that data is not unnecessarily deleted, ever, and that there is no violation of the principle of least surprise. Enabling something that will automatically delete data should be something that absolutely requires explicit action as it is new behavior (on the host itself, the approach itself is well known). |