As discussed in bug 490676, systemd will clean /var/tmp after 30 days without modifications, this causes ccache default directory to be cleaned as well. Since ccache has its own mechanisms to control that it doesn't grow forever, we should install a tmpfiles.d file with this content: x /var/tmp/cache Do you have any issue with installing it? Thanks
I do not see anything that speaks against adding this entry to tmpfiles.d. In fact, automatically reaping entries from ccache (that already manages the cache) is not want we want at all...
(In reply to Pacho Ramos from comment #0) > x /var/tmp/cache I typoed that on bug 490676. It should be: x /var/tmp/ccache
/var/tmp cleanup has been dhttps://bugs.gentoo.org/show_bug.cgi?id=561404#isabled in systemd.