Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 561404

Summary: dev-util/ccache: install a tmpfiles.d file to exclude /var/tmp/ccache from cleaning after 30 days
Product: Gentoo Linux Reporter: Pacho Ramos <pacho>
Component: Current packagesAssignee: Robin Johnson <robbat2>
Status: RESOLVED OBSOLETE    
Severity: normal CC: systemd, toolchain
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=490676
Whiteboard:
Package list:
Runtime testing required: ---

Description Pacho Ramos gentoo-dev 2015-09-24 18:44:33 UTC
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
Comment 1 Matthias Maier gentoo-dev 2015-09-24 19:05:54 UTC
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...
Comment 2 Mike Gilbert gentoo-dev 2015-09-24 19:32:11 UTC
(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
Comment 3 Mike Gilbert gentoo-dev 2015-09-25 14:54:28 UTC
/var/tmp cleanup has been dhttps://bugs.gentoo.org/show_bug.cgi?id=561404#isabled in systemd.