Bug 177352

Summary: Find returns "no such file" error when using fstype option
Product: Red Hat Enterprise Linux 3 Reporter: Victor Orgos <v_orgos>
Component: findutilsAssignee: Tim Waugh <twaugh>
Status: CLOSED UPSTREAM QA Contact: Mike McLean <mikem>
Severity: medium Docs Contact:
Priority: medium    
Version: 3.0   
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-01-10 12:33: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:

Description Victor Orgos 2006-01-09 23:03:05 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.12) Gecko/20050915 Firefox/1.0.7

Description of problem:
When trying to find all files of specified filesystem type, the find utility prints to stderr that it cannot fild a file (itself) in the proc filesystem:

# find / -fstype ext3 | wc -l
find: /proc/10288/fd: No such file or directory


This also occurs in RHEL v4 using findutils-4.1.20-7

# find / -fstype ext3 |wc -l
find: /proc/3853/task/3853/fd/4: No such file or directory


This does NOT occur on Redhat Linux v8 using findutils-4.1.7-7

Thanks.

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

How reproducible:
Always

Steps to Reproduce:
1. find / -fstype ext3 > /dev/null
2.
3.
  

Actual Results:  find: /proc/3853/task/3853/fd/4: No such file or directory

Expected Results:  No error

Additional info:

Comment 1 Tim Waugh 2006-01-10 12:33:44 UTC
Actually findutils-4.1.7-7 gives the same behaviour for me under the same kernel.

Anyway, reported upstream:
  https://savannah.gnu.org/bugs/index.php?func=detailitem&item_id=15416