Bug 132571 - Files > 2 GB are not entered into slocate data base
Summary: Files > 2 GB are not entered into slocate data base
Alias: None
Product: Red Hat Enterprise Linux 3
Classification: Red Hat
Component: slocate
Version: 3.0
Hardware: i386
OS: Linux
Target Milestone: ---
Assignee: Miloslav Trmač
QA Contact: Brock Organ
Depends On:
Blocks: 156320
TreeView+ depends on / blocked
Reported: 2004-09-14 19:22 UTC by Scott Levine
Modified: 2008-08-05 08:42 UTC (History)
1 user (show)

Clone Of:
Last Closed: 2005-09-28 14:37:44 UTC

Attachments (Terms of Use)

External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2005:345 qe-ready SHIPPED_LIVE Low: slocate security update 2005-09-28 04:00:00 UTC

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:

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.


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