| Summary: | locate no longer works | ||
|---|---|---|---|
| Product: | Mageia | Reporter: | Pierre Fortin <pfortin> |
| Component: | RPM Packages | Assignee: | Mageia Bug Squad <bugsquad> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | Normal | CC: | jani.valimaa, marja11 |
| Version: | Cauldron | ||
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Source RPM: | CVE: | ||
| Status comment: | |||
|
Description
Pierre Fortin
2022-09-06 16:16:45 CEST
As a workaround run updatedb by hand as root. Looks like plocate-updatedb.timer isn't enabled/started by default after install to update plocate db daily. CC:
(none) =>
jani.valimaa updatedb resolved the error
Then I started plocate-updatedb.time via mcc
Is "disabled" correct blow?
$ systemctl status plocate-updatedb.timer
● plocate-updatedb.timer - Update the plocate database daily
Loaded: loaded (/usr/lib/systemd/system/plocate-updatedb.timer; disabled; preset: disabled)
Active: active (waiting) since Tue 2022-09-06 12:33:21 EDT; 2min 8s ago
Until: Tue 2022-09-06 12:33:21 EDT; 2min 8s ago
Trigger: Wed 2022-09-07 02:07:51 EDT; 13h left
Triggers: ● plocate-updatedb.service
Sep 06 12:33:21 pf.pfortin.com systemd[1]: Started Update the plocate database daily.
At least, it ran once and I can run updatedb manually as a workaround...
Do we want it to be enabled by default? Most users don't use locate. Those who do use it, will most likely first want to edit PRUNEPATHS etc. before running updatedb for the first time. CC:
(none) =>
marja11 Since mageia-release-9-0.24.mga9 plocate-updatedb.timer is enabled and started by default after plocate install [1]. Same way as mlocate-updatedb.timer is or was. Default and sane updatedb.conf originating from mlocate is also shipped with plocate. [1] https://svnweb.mageia.org/packages?view=revision&revision=1884582 (In reply to Jani Välimaa from comment #4) > Since mageia-release-9-0.24.mga9 plocate-updatedb.timer is enabled and > started by default after plocate install [1]. Same way as > mlocate-updatedb.timer is or was. > > Default and sane updatedb.conf originating from mlocate is also shipped with > plocate. > > [1] https://svnweb.mageia.org/packages?view=revision&revision=1884582 Thanks. Closing as fixed, then. @ Pierre Feel free to reopen if needed. Status:
NEW =>
RESOLVED |