Bug 82018 - /usr/bin/find very bad behaviour (KERNEL BUG???)
/usr/bin/find very bad behaviour (KERNEL BUG???)
Product: Red Hat Linux
Classification: Retired
Component: findutils (Show other bugs)
i686 Linux
medium Severity medium
: ---
: ---
Assigned To: Tim Waugh
Mike McLean
Depends On:
  Show dependency treegraph
Reported: 2003-01-16 07:54 EST by Javier Ros
Modified: 2007-04-18 12:50 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2003-01-16 07:56:25 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 Javier Ros 2003-01-16 07:54:05 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.1) Gecko/20021003

Description of problem:
Im using find to search some ser of files within my file system
using the instruction:

To reproduce the problem, you can untar:

[jros@s172m203 etc]$ find ./ -type f -name '[^A-Z]*.*' -name '*' -print

It offer bad results

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

How reproducible:

Steps to Reproduce:
To reproduce the problem, you can:

1.- untar


to a directory of your convenience

2.- cd to the etc directory

3.- type the previous instruction

You will obtain a erroneous behaviour. Compare it against the behaviou in other
redhat distribution.

I did it with redhat7.0

Actual Results:  Bad behaviour in redhat8.0 outputs

[jros@s172m203 etc]$ find ./ -type f -name '[^A-Z]*.*' -name '*' -print

Expected Results:  Diferences between 7.0, correct behaviour an 8.0 bad.

The output in 7.0 is significatively longer.

Additional info:

IMPORTANT: The problem is not in find executable, I've tested it using a working
redhat 7.0 /usr/bin/find executable.

The same problem arises.

If triyed to obtain a correct behaviour using diferent filesystems, and ald
redhat 8.0 kernels. The problem is the same.

The problem is not computer or installation related, thought I've user other
redhat 8.0 distributions and the problem reproduces.

I'm not an expert but it seems to be a KERNEL related problem.
Comment 1 Tim Waugh 2003-01-16 07:56:25 EST
You forgot to set LC_CTYPE=C in your environment.

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