Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 117117 - [PATCH] rc.sysinit /tmp cleanup
[PATCH] rc.sysinit /tmp cleanup
Product: Red Hat Enterprise Linux 3
Classification: Red Hat
Component: initscripts (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Bill Nottingham
Brock Organ
: FutureFeature
Depends On:
  Show dependency treegraph
Reported: 2004-02-28 17:52 EST by Landon Curt Noll
Modified: 2014-03-16 22:42 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2004-03-01 22:41:34 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
patch to /etc/rc.d/rc.sysinit to clean up /tmp more on startup (593 bytes, patch)
2004-02-28 17:54 EST, Landon Curt Noll
no flags Details | Diff

  None (edit)
Description Landon Curt Noll 2004-02-28 17:52:54 EST
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):

How reproducible:

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.

Additional info:

This problems also exists in RH9 and Fedora Core 1.

The patch attached will with with RH9, Fedora, and RHEL.
Comment 1 Landon Curt Noll 2004-02-28 17:54:33 EST
Created attachment 98126 [details]
patch to /etc/rc.d/rc.sysinit to clean up /tmp more on startup
Comment 2 Landon Curt Noll 2004-02-28 17:59:03 EST
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.
Comment 3 Bill Nottingham 2004-03-01 22:41:34 EST
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. :) )

Note You need to log in before you can comment on or make changes to this bug.