On 29/11/2024 02:24, jman wrote:
Erwan David writes:However, those directories are not cleaned. What should I check ?I've not yet used systemd-tmpfiles but the first thing that comes to my mind, if I had to use it, would to be very careful and mindful of the "purge" command, which can have surprising effects: https://www.phoronix.com/news/systemd-tmpfiles-purge-drama
--purge added after bookworm release. systemctl --user status systemd-tmpfiles-clean.timer○ systemd-tmpfiles-clean.timer - Daily Cleanup of User's Temporary Directories Loaded: loaded (/usr/lib/systemd/user/systemd-tmpfiles-clean.timer; disabled; preset: enabled)
Active: inactive (dead)
Trigger: n/a
Triggers: ● systemd-tmpfiles-clean.service
Docs: man:tmpfiles.d(5)
man:systemd-tmpfiles(8)
It seems you need to explicitly enable it. You may have a look into the
Debian bug tracker, the Debian git repository for the package, dev
mailing list archive to figure out if the timer is disabled intentionally.