| Bug#: 146973 | Product: Gentoo Linux | Version: unspecified | Platform: All |
| OS/Version: Linux | Status: RESOLVED | Severity: enhancement | Priority: P2 |
| Resolution: FIXED | Assigned To: maintainer-needed@gentoo.org | Reported By: UlfSchaper@gmx.de | |
| Component: Ebuilds | |||
| URL: | |||
| Summary: app-admin/tmpwatch: /var/tmp/portage shall not be cleaned if emerge is running | |||
| Keywords: | |||
| Status Whiteboard: | |||
| Opened: 2006-09-09 10:15 0000 | |||
| Description: | Opened: 2006-09-09 10:15 0000 |
http://www.gentoo.org/doc/en/faq.xml#tmpportage suggests not to clean /var/tmp/portage while emerge is running (maybe because some files get old mtimes if they are extracted from old archives). The example in /etc/cron.daily/tmpwatch however does not include such a check. I think we should include a structure such as: if [[ -z $(/usr/bin/pgrep emerge) ]]; then tmpwatch /var/tmp/portage... fi Ulf
The example is all commented out by default. Feel free to modify as needed.
Created an attachment (id=97411) [details]
tmpwatch.cron.patch
Thanks, fixed in CVS