Bug 2682

Summary: locate won't work with amd running
Product: [Retired] Red Hat Linux Reporter: _eemeli_
Component: findutilsAssignee: David Lawrence <dkl>
Status: CLOSED NEXTRELEASE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 6.0CC: ab0781, bvermeul, partsman, stef.pillaert
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: 1999-06-01 19:25:54 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Description _eemeli_ 1999-05-09 10:59:57 UTC
When running amd on RH Linux 6.0, command updatedb will
never finish, and so datebase is not updated. Could be also
caused by netfs and/or autofs.

Comment 1 Jeff Johnson 1999-05-15 22:31:59 UTC
*** Bug 2717 has been marked as a duplicate of this bug. ***

When using updatedb to create the locate database, it locks
up on empty directories. At first it seemed to be taking an
extremely long time, but when running it with -v, it became
obvious the it was getting locked up on certain directories.
When a file was placed in the directory, it would continue
without any problems

Comment 2 Jeff Johnson 1999-05-15 22:33:59 UTC
*** Bug 2728 has been marked as a duplicate of this bug. ***

Don't know if this is a bug, but locate acts strange now and
then, so...

I notice that updatedb keeps on running (forever?)
"ps aux" shows:

updatedb(bdflush)

Should there be something excluded in slocate? Or is this
behaviour normal?

Thanks,

Stef.

------- Additional Comments From notting@redhat.com  05/11/99 10:35 -------
that's update (bdflush), which is the kernel's cache
flushing-daemon. It doesn't have anything to do with
slocate.

------- Additional Comments From stef.pillaert@kahosl.be  05/12/99 03:10 -------
OOPS!! Very sorry!
But the reason I got confused was: running "updatedb" (and not
slocate, sorry) hangs. (and I thought it was launched at startup, and
confused it with update)

Should I exclude something from updatedb?
Thanks.

Stef.

------- Additional Comments From notting@redhat.com  05/13/99 11:04 -------
If you do 'strace -o output updatedb', and then look at
the output file when it hangs, where is it hanging?

Comment 3 Jeff Johnson 1999-06-01 18:58:59 UTC
I've replace updatedb in slocate-1.6-1 to more perfectly imitate
the behavior of the findutils updatedb. This means that certain
directories and NFS or smb mount points will not be searched while
building the slocate database.

Comment 4 Jeff Johnson 1999-06-12 17:15:59 UTC
*** Bug 3410 has been marked as a duplicate of this bug. ***

slocate doesn't complete it's daily run. After about a day,
it is still running, gobbling up the complete CPU, and
pushing up the load. Dunno what's causing it, ps aul shows
it's not doing anything in the kernel.

Can't seem to find slocate in the list of components, so
thought I might try this approuch instead... :)