Bug 114969
| Summary: | tmpwatch does not clean up socket files in /tmp | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 2.1 | Reporter: | C. Ray Ng <crn1> |
| Component: | tmpwatch | Assignee: | Miloslav Trmač <mitr> |
| Status: | CLOSED DUPLICATE | QA Contact: | |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 2.1 | CC: | dbaron |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2006-02-21 19:01:05 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
C. Ray Ng
2004-02-04 22:58:24 UTC
This is too dangerous. It could for example remove the sockets used for X11 (atime on the socket is changed only on new connections, not only on X protocol traffic). *** This bug has been marked as a duplicate of 66148 *** Right, a safer version that I have been using is the following: # cleanup accumulated socket files in /tmp/orbit-* first # /usr/sbin/tmpwatch --fuser --all 240 /tmp/orbit-* /usr/sbin/tmpwatch 240 /tmp /usr/sbin/tmpwatch 720 /var/tmp ... FWIW, I've seen filesystems run out of inodes due to this problem. Changed to 'CLOSED' state since 'RESOLVED' has been deprecated. |