Bug 56961 - tmpwatch can't handle large files
tmpwatch can't handle large files
Product: Red Hat Linux
Classification: Retired
Component: tmpwatch (Show other bugs)
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Mike A. Harris
Ben Levenson
Depends On:
  Show dependency treegraph
Reported: 2001-12-01 09:04 EST by Mike A. Harris
Modified: 2007-04-18 12:38 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2002-01-24 18:36:48 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Mike A. Harris 2001-12-01 09:04:36 EST
Description of Problem:
tmpwatch blows up on 18Gb files

error: failed to lstat /tmp/plugtmp/terahertz4.tif: Value too large for
defined data type

Version-Release number of selected component (if applicable):

How Reproducible:

Steps to Reproduce:
1. put an 18 gigabyte file in /tmp
2. run tmpwatch via cron
3. read root's email

Actual Results:
Date: Tue, 27 Nov 2001 04:02:42 -0500
From: Cron Daemon <root@zod.capslock.lan>
To: root@zod.capslock.lan
Subject: Cron <root@zod> run-parts /etc/cron.daily
error: failed to lstat /tmp/plugtmp/terahertz4.tif: Value too large for
defined data type

Expected Results:
tmpwatch treating the file like any other file, and hopefully
removing that huge beast.

Additional Information:
No, I am not insane.  I do not usually have 18Gb files laying
around.  ;o)  Mozilla created this beast when trying to display
an 8Mb TIFF image.  It somehow went berzerk and my machine almost
had a kernel panic due to a shortage of DMA buffers for SCSI.
18Gb files are bad bad bad.  tmpwatch should delete them.  ;o)
Comment 1 Mike A. Harris 2002-01-24 18:36:42 EST
Wow, I've been reassigned my own bug report.  Fun.  ;o)
Comment 2 Mike A. Harris 2002-04-13 06:19:43 EDT
And finally I've gotten around to fixing it too.  ;o)

Added the following to CFLAGS


Will appear in rawhide tmpwatch 2.8.3

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