LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
Email to...
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[ILUG] /tmp not cleared on reboot

[ILUG] /tmp not cleared on reboot

Walter Faleiro curtorkar at gmail.com
Wed Nov 29 21:59:18 GMT 2006


Thanks Rick,
My distro is
cat /etc/issue
Red Hat Enterprise Linux WS release 3 (Taroon Update 1)
Kernel \r on an \m



I got that for Debian on googling, but am trying to fix it for Redhat
systems. I understand tmpwatch is supposed to clear things up.
I can have a script like find /tmp -type f -mtime +7 exec { rm -rf } \;
and have files that are older than 7 days removed.

My reason for posting this was that by default Redhat clears /tmp on reboot.
So just want to debug the issue from then

--W

On 11/30/06, Rick Moen <rick at linuxmafia.com> wrote:
>
> Quoting Walter Faleiro (curtorkar at gmail.com):
>
> > Has anyone noticed the behaviour that /tmp is not cleared on reboots?
>
> 1.  Your [unnamed] distro sucks.  ;->
> 2.  On Debian and similar, edit this section in /etc/default/rcS, to suit:
>
> # Time files in /tmp are kept in days.
> TMPTIME=7
>
> --
> Irish Linux Users' Group mailing list
> About this list : http://mail.linux.ie/mailman/listinfo/ilug
> Who we are : http://www.linux.ie/
> Where we are : http://www.linux.ie/map/
>



More information about the ILUG mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


Maintained by the ILUG website team. The aim of Linux.ie is to support and help commercial and private users of Linux in Ireland. You can display ILUG news in your own webpages, read backend information to find out how. Networking services kindly provided by HEAnet, server kindly donated by Dell. Linux is a trademark of Linus Torvalds, used with permission. No penguins were harmed in the production or maintenance of this highly praised website. Looking for the Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!
RSS Version
Powered by Dell