Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
For bugs related to Red Hat Enterprise Linux 3 product line. The current stable release is 3.9. For Red Hat Enterprise Linux 6 and above, please visit Red Hat JIRA https://issues.redhat.com/secure/CreateIssue!default.jspa?pid=12332745 to report new issues.

Bug 132571

Summary: Files > 2 GB are not entered into slocate data base
Product: Red Hat Enterprise Linux 3 Reporter: Scott Levine <bytebucket>
Component: slocateAssignee: Miloslav Trmač <mitr>
Status: CLOSED ERRATA QA Contact: Brock Organ <borgan>
Severity: medium Docs Contact:
Priority: medium    
Version: 3.0CC: gunkaist
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: RHSA-2005-345 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2005-09-28 14:37:44 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:
Bug Depends On:    
Bug Blocks: 156320    

Description Scott Levine 2004-09-14 19:22:48 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.2)
Gecko/20040804 Netscape/7.2 (ax)

Description of problem:
'slocate -u' does not add files greater than 2GB in size to
slocate.db.   slocate uses fts.  When adding files, a check is made to
see if stat() info was obtained (if (file->fts_info != FTS_DP &&
file->fts_info != FTS_NS) { ).  If it is not, the file is not added. 
Files greater that 2 GB cause the stat to fail with error 75 -
EOVERFLOW --/* Value too large for defined data type */

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

How reproducible:
Always

Steps to Reproduce:
1.  create a file greater than 2GB
2.  run slocate -u -c   [ -c is optional ] 
3.  try to slocate the file created in step 1.
    

Actual Results:  file is not listed

Expected Results:  path of file on stdout

Additional info:

Comment 4 Red Hat Bugzilla 2005-09-28 14:37:44 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHSA-2005-345.html