Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 181230 - sys-apps/rlocate Make poll interval adjustable
Summary: sys-apps/rlocate Make poll interval adjustable
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: SpanKY
URL:
Whiteboard:
Keywords:
Depends on: 191073
Blocks:
  Show dependency tree
 
Reported: 2007-06-07 18:57 UTC by Rudi Lippert
Modified: 2007-10-06 13:37 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Patch to be applied to rlocate-0.5.5 source (adjust-interval.patch,2.81 KB, patch)
2007-06-07 18:59 UTC, Rudi Lippert
Details | Diff
new /etc/init.d/rlocate (rlocated.rc,733 bytes, text/plain)
2007-06-07 18:59 UTC, Rudi Lippert
Details
new /etc/conf.d/rlocated (rlocated.conf,104 bytes, text/plain)
2007-06-07 19:00 UTC, Rudi Lippert
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Rudi Lippert 2007-06-07 18:57:59 UTC
In order to reduce power consumption on laptops, I wrote a patch to make the refresh interval of rlocated adjustable by a command line parameter (-i or --interval). Most people won't need the rlocate database updated every 2 seconds.
The patch changes src/rlocate-daemon/rlocated.c to introduce and document the -i parameter and doc/man/rlocated.1 for the same documentation.
I also included new conf.d and init.d files to make use of the parameter.
Comment 1 Rudi Lippert 2007-06-07 18:59:00 UTC
Created attachment 121427 [details, diff]
Patch to be applied to rlocate-0.5.5 source
Comment 2 Rudi Lippert 2007-06-07 18:59:51 UTC
Created attachment 121428 [details]
new /etc/init.d/rlocate
Comment 3 Rudi Lippert 2007-06-07 19:00:40 UTC
Created attachment 121430 [details]
new /etc/conf.d/rlocated
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2007-06-07 19:00:59 UTC
http://rlocate.sourceforge.net/#author_and_bugs
Comment 5 Rudi Lippert 2007-06-07 20:37:23 UTC
yup, i already posted this at sourceforge and emailed it to the author. adding this to 0.5.5-r1 might be faster than waiting for 0.5.6 upstream, though.
Comment 6 SpanKY gentoo-dev 2007-10-06 13:37:44 UTC
rlocate-0.5.6 now in the tree