Re: Cleaning /tmp regularly using bootclean.sh + crond

2006-02-27 Thread Michelle Konzack
Am 2006-02-20 14:17:32, schrieb Mike McCarty: AFAICT, there isn't one. How can one know that some weird file wasn't put there by some application or other, and intends to open it in a day or two when it gets started again? I have this case, where it makes no sense to put such files in

Re: Cleaning /tmp regularly using bootclean.sh + crond

2006-02-20 Thread Josep Serrano
Hello all again. So what do we do? What is the cron/multi-user safe way to clean up regularly /tmp ? I checked the way bootclean.sh is implemented: if cd /tmp [ `find . -maxdepth 0 -perm -002` = . ] then # First remove all old files. find .

Re: Cleaning /tmp regularly using bootclean.sh + crond

2006-02-20 Thread Mike McCarty
Josep Serrano wrote: Hello all again. So what do we do? What is the cron/multi-user safe way to clean up regularly /tmp ? AFAICT, there isn't one. How can one know that some weird file wasn't put there by some application or other, and intends to open it in a day or two when it gets started

Re: Cleaning /tmp regularly using bootclean.sh + crond

2006-02-20 Thread Adam Porter
Tmpreaper probably does 'the right thing' However, if you mount /tmp with noatime, I don't see how tmpreaper would know what's safe to delete and what isn't. 'apt-cache show tmpreaper' says that it goes by access time. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of

Cleaning /tmp regularly using bootclean.sh + crond

2006-02-17 Thread Josep Serrano
Do you guys clean regularly your /tmp ? There's a nice script in /etc/init.d/bootclean.sh that does the job. It is called from mountall.sh at boot time. And it is so nice that is reads the configuration in /etc/default/rcS where you can set TMPTIME to the number of days you want hold old files

Cleaning /tmp regularly using bootclean.sh + crond

2006-02-17 Thread Josep Serrano
Do you guys clean regularly your /tmp ? There's a nice script in /etc/init.d/bootclean.sh that does the job. It is called from mountall.sh at boot time. And it is so nice that is reads the configuration in /etc/default/rcS where you can set TMPTIME to the number of days you want hold old files

Re: Cleaning /tmp regularly using bootclean.sh + crond

2006-02-17 Thread Paul Johnson
On Friday 17 February 2006 07:29, Josep Serrano wrote: Do you guys clean regularly your /tmp ? Yup. The tmpreaper package is great for that. -- Paul Johnson Email and IM (XMPP Google Talk): [EMAIL PROTECTED] Jabber: Because it's time to move forward http://ursine.ca/Ursine:Jabber -- To

Re: Cleaning /tmp regularly using bootclean.sh + crond

2006-02-17 Thread Josep Serrano
On Friday 17 February 2006 07:29, Josep Serrano wrote: Do you guys clean regularly your /tmp ? Yup. The tmpreaper package is great for that. Yes, tmpreaper does the job. But here I was preteding to simply reuse the bootclean.sh by simply making a symlink. Why installing an addittional

Re: Cleaning /tmp regularly using bootclean.sh + crond

2006-02-17 Thread Mike McCarty
Josep Serrano wrote: On Friday 17 February 2006 07:29, Josep Serrano wrote: Do you guys clean regularly your /tmp ? Yup. The tmpreaper package is great for that. Yes, tmpreaper does the job. But here I was preteding to simply reuse the bootclean.sh by simply making a symlink. Why

Re: Cleaning /tmp regularly using bootclean.sh + crond

2006-02-17 Thread Joey Hess
Josep Serrano wrote: Yes, tmpreaper does the job. But here I was preteding to simply reuse the bootclean.sh by simply making a symlink. Why installing an addittional package if you already have the stuff to the the job? Maybe I am wrong and it is a bad idea using bootclean.sh in crond ?

Re: Cleaning /tmp regularly using bootclean.sh + crond

2006-02-17 Thread Miquel van Smoorenburg
In article [EMAIL PROTECTED], Mike McCarty [EMAIL PROTECTED] wrote: Josep Serrano wrote: On Friday 17 February 2006 07:29, Josep Serrano wrote: Do you guys clean regularly your /tmp ? Yup. The tmpreaper package is great for that. Yes, tmpreaper does the job. But here I was preteding to

Re: Cleaning /tmp regularly using bootclean.sh + crond

2006-02-17 Thread Paul Johnson
On Friday 17 February 2006 08:01, Josep Serrano wrote: On Friday 17 February 2006 07:29, Josep Serrano wrote: Do you guys clean regularly your /tmp ? Yup. The tmpreaper package is great for that. Yes, tmpreaper does the job. But here I was preteding to simply reuse the bootclean.sh by

Re: Cleaning /tmp regularly using bootclean.sh + crond

2006-02-17 Thread Paul Johnson
On Friday 17 February 2006 09:22, Joey Hess wrote: Josep Serrano wrote: Yes, tmpreaper does the job. But here I was preteding to simply reuse the bootclean.sh by simply making a symlink. Why installing an addittional package if you already have the stuff to the the job? Maybe I am wrong