Bug 208288
Summary: | slocate turned off, but file controlling it is not documented. /etc/updatedb.conf | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 4 | Reporter: | jkinz |
Component: | slocate | Assignee: | Miloslav Trmač <mitr> |
Status: | CLOSED WONTFIX | QA Contact: | Brock Organ <borgan> |
Severity: | low | Docs Contact: | |
Priority: | low | ||
Version: | 4.4 | ||
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2012-06-20 16:03:58 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
jkinz
2006-09-27 17:54:36 UTC
Thanks for your report. Although the information is not present in the man pages, it is quite easy to find: | $ slocate foo | warning: slocate: could not open database: /var/lib/slocate/slocate.db: No such file or directory | warning: You need to run the 'updatedb' command (as root) to create the database. | Please have a look at /etc/updatedb.conf to enable the daily cron job. And in /etc/updatedb.conf: | # To enable the updatedb in cron, set DAILY_UPDATE to yes | DAILY_UPDATE=no I don't think this issue warrants a separate RHEL update, but I'll keep this report open to allow adding the information to man pages if an RHEL update of slocate is produced for other reasons. If you are a RHEL customer and have an active support entitlement, please contact official Red Hat Support at https://www.redhat.com/apps/support/ to allow correct prioritization of this issue. The claim that the information is "Quite easily finadable" is patently untrue. The message decribed by mitr never appeared on my install, because the file /var/lib/slocate/slocate.db did exist, and therefore the message: | warning: slocate: could not open database: /var/lib/slocate/slocate.db: No such file or directory | warning: You need to run the 'updatedb' command (as root) to create the database. | Please have a look at /etc/updatedb.conf to enable the daily cron job never appeared. Secondly - his claim that the user will find the controlling variable in the file /etc/updatedb.conf is untrue since the user will not be aware of the files existence in the case described above. The user has no way to find out about the file since its not documented anywhere. (No - source code is not documentation :-) ) how hard is it to add one line to a manpage? If I had access to the RH source tree I would add it myself. Frankly - it took longer for mitr to write the response to this bug here than it would to add: 'To run slocate on a daily basis edit the file /etc/updatedb.conf and change the "no" in this line: DAILY_UPDATE=no to a "yes"' Further, a reference to a file in an error message that only shows up when a system is broken in one specific way out of the many possible ways for it to be broken is not documentation of the file's existence in any way shape or form. Thank you for submitting this issue for consideration in Red Hat Enterprise Linux. The release for which you requested us to review is now End of Life. Please See https://access.redhat.com/support/policy/updates/errata/ If you would like Red Hat to re-consider your feature request for an active release, please re-open the request via appropriate support channels and provide additional supporting details about the importance of this issue. |