From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030624
Description of problem:
The /etc/rc.d/rc.sysinit could clean up a few of the common chaff
that is left around in /tmp from the likes of ssh, gnome, KDE and
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1.crash a system with lots of interactive stuff running
3.ls -a /tmp
Actual Results: Lots of stuff left over in /tmp. For example:
Expected Results: Less stuff left over in /tmp.
This problems also exists in RH9 and Fedora Core 1.
The patch attached will with with RH9, Fedora, and RHEL.
Created attachment 98126 [details]
patch to /etc/rc.d/rc.sysinit to clean up /tmp more on startup
In the ancient days of Un*x (in the 1970's and later), the /tmp
file system was cleaned and/or rebuilt after every reboot. I'm
not suggesting that this be done. I am suggesting that some of
the common cruft could be cleaned out.
In some cases components can become confused about the state of
the world when they find old cruft in /tmp from a previous reboot.
Clearing out these files in /tmp avoids such problems and keeps
/tmp a bit more tidy.
Added in CVS, will be in the next major RHEL release (merged with the
other cleanup, and tweaked so we don't call /bin/rm 10 times. :) )