Hello, I just emerged "tmpwatch" because my laptop hard disk is highly fragmented (~6%) and has no more free space. I saw that the cron task does nothing by default. I would like a default action like the following to be added to /etc/cron.daily/tmpwatch: --- # delete temporary files which were unchanged since 9 days ${TMPWATCH} --mtime 216 /tmp /var/tmp --- Thanks. Reproducible: Always
You've already filed 3 bugs about exact same thing; please stop. We won't administer your system for you, not our problem. Go set up the cronjobs as *you* require for *your* specific needs; we frankly don't care much that you've run out of disk space.
Sorry, I don't want to get on your nerves. I first filed bug 188915. You marked it as duplicate of bug 33877. Thus I added the information to this existing bug. Then Chris Gianelloni told me to file a new bug. Thus I reopened the bug 188915 that you previously marked as duplicate and I added some comments. After that I filed the current bug which is not related at all with the previously described bugs. Cleaning /tmp and /var/tmp is not related to portage.
/var/tmp is not supposed to get wiped in any automated manner; just because you've run out of diskspace I don't want my ccache destroyed by stupid cronscript that has no clue about ccache internals. /tmp already is cleaned on every reboot, if you need to wipe it more often, them set up your cronjobs as *you* need.
You probably want to change WIPE_TMP="no" to WIPE_TMP="yes" in /etc/conf.d/bootmisc . Then the junk in /tmp is deleted at every reboot, instead of just known files being removed. You will of course need tmpwatch if your machine is rarely rebooted. /Jakob
in reply to comment 3 about ccache: maybe the ccache cache diretory should be in /var/cache instead of /var/tmp ?