From Bugzilla Helper: User-Agent: Mozilla/4.77 [en] (X11; U; Linux 2.4.3 i686; Nav) Description of problem: When a directory has file(s) larger than 2GB tmpwatch will fail with error: failed to lstat /home/tmp//big: Value too large for defined data type How reproducible: Always Steps to Reproduce: 1. Create a file larger than 2GB (eg. dd if=/dev/zero of=big bs=1024k count=2049) 2. Use tmpwatch to scratch the directory where this file resides. Actual Results: % /usr/sbin/tmpwatch --mtime 1 /home/tmp/ error: failed to lstat /home/tmp//big: Value too large for defined data type Additional info: Recompiling this RPM with "-D_FILE_OFFSET_BITS=64" fixes the problem. The same problem is present in tmpwatch for earlier RedHat versions as well. --- tmpwatch.spec.orig Sun May 20 20:44:04 2001 +++ tmpwatch.spec Sun May 20 20:44:14 2001 @@ -20,7 +20,7 @@ %setup -q %build -make RPM_OPT_FLAGS="$RPM_OPT_FLAGS" +make RPM_OPT_FLAGS="$RPM_OPT_FLAGS -D_FILE_OFFSET_BITS=64" %install rm -rf %{buildroot}
changed in 2.7.2 and later.
*** Bug 42672 has been marked as a duplicate of this bug. ***