Bug 410491 - Find endless loop in /dev and /sys and /proc
Find endless loop in /dev and /sys and /proc
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: gthumb (Show other bugs)
All Linux
high Severity medium
: ---
: ---
Assigned To: Behdad Esfahbod
Depends On:
  Show dependency treegraph
Reported: 2007-12-04 10:37 EST by Chris Ward
Modified: 2013-04-12 15:27 EDT (History)
0 users

See Also:
Fixed In Version: RHBA-2007-1115
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2007-12-20 11:46:38 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 Chris Ward 2007-12-04 10:37:16 EST
Description of problem:
When doing a 'find' (ctrl f, edit->find), starting at "File System", I keep
running into the same problem over and over that makes it nearly impossible to
search and find anything

Upon reaching certain points in /proc, /dev/, and /sys/, the find starts
searching down an endless loop!




All of these just keep going and going and going, infinitely.

Is there any reason why the search couldn't skip over these directories, or at
minimum put some check there to ensure we don't get stuck in an infinite loop?

that gthumb wouldn't get stuck in infinite loops. 

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

How reproducible:

It's possible that it only is reproducible on i386 and ppc though, i wasn't able
to search without the same problem appearing on x86_64...but maybe it was a
fluke that it worked! :-)

Steps to Reproduce:
1. see above
I would note too that Korea is looking for GS CERT, and such a problem IMO would
reflect badly on us. I think this problem should be fixed ASAP. 

Also, it seems that there should be an option to select which directories should
be search, and which shouldn't. Or at least an option to 'not search /mnt,
/dev/, proc/, /sys/'
Comment 1 Behdad Esfahbod 2007-12-10 17:22:44 EST
Got the patch.  Not sure what to do with it.
Comment 9 errata-xmlrpc 2007-12-20 11:46:38 EST
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.