Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 561404 - dev-util/ccache: install a tmpfiles.d file to exclude /var/tmp/ccache from cleaning after 30 days
Summary: dev-util/ccache: install a tmpfiles.d file to exclude /var/tmp/ccache from cl...
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Robin Johnson
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-09-24 18:44 UTC by Pacho Ramos
Modified: 2015-09-25 14:54 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.