Bugzilla will be upgraded to version 5.0 on a still to be determined date in the near future. The original upgrade date has been delayed.
Bug 1176 - updatedb cron job gives me an empty locatedb
updatedb cron job gives me an empty locatedb
Product: Red Hat Linux
Classification: Retired
Component: findutils (Show other bugs)
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: David Lawrence
Depends On:
  Show dependency treegraph
Reported: 1999-02-15 13:35 EST by jay
Modified: 2008-05-01 11:37 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 1999-02-18 17:38:59 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 jay 1999-02-15 13:35:16 EST
the /etc/cron.daily job creates a valid locatedb in /tmp but
does not move it to the /var/lib/locatedb location.

It somehow creates an empty file in /var/lib

[root@texnet lib]# ls -al /var/lib/locatedb*
-rw-------   1 root     root            0 Feb 15 10:28
[root@texnet lib]# ls -al /tmp/*
-rw-------   1 nobody   users      665408 Feb 15 10:31
[root@texnet lib]# rpm -q findutils

when I run the updatedb command as root the proper file is

My 5.2 systems do not do this.
Comment 1 jay 1999-02-15 13:48:59 EST
I'm a twit.  This system was converted from slackware to redhat
several months ago. I preserved my /etc/passwd and /etc/group files.
Apparently nobody was set to be # 65535, where RH expects it to be
#99  I guess some inherited permissions based on userid, etc.  I
diddled the passwd file to some semblance of RH ism et viola, c'est

Question though. Does this imply that the nobody user is _priviledged_
Comment 2 Jeff Johnson 1999-02-18 17:38:59 EST
Nobody is "privileged" only in the sense that uid's below some
small number (like 100 or 500) are usually assigned by a vendor.
Other conventions, such as nobody:x:65535:65535: are also common.

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