Re: updatedb

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 






On 8/9/22 09:56, Patrick Dupre wrote:
Every thing seems OK

-rw-r--r--. 1 root root 0 Aug  9 13:01 /var/lib/systemd/timers/stamp-plocate-upd
atedb.timer

systemctl list-unit-files | grep updatedb
plocate-updatedb.service                                                            static          -
plocate-updatedb.timer                                                              enabled         enabled


BUT?

Interesting. On my F36 system there is mlocate-updatedb rather than plocate-updatedb. Looks like I have the mlocate package installed. Both mlocate and plocate are in the repository. Is one preferred over the other? dnf info says plocate is faster but I've never had an issue with speed when I use the locate command.

Another check is to make sure the time is set up and running ok. A simple systemctl status. On my system with mlocate:

sudo systemctl status mlocate-updatedb.timer
* mlocate-updatedb.timer - Updates mlocate database every day
Loaded: loaded (/usr/lib/systemd/system/mlocate-updatedb.timer; enabled; vendor preset: enabled) Active: active (waiting) since Tue 2022-08-09 13:36:02 EDT; 1h 26min ago
      Until: Tue 2022-08-09 13:36:02 EDT; 1h 26min ago
    Trigger: Wed 2022-08-10 00:00:00 EDT; 8h left
   Triggers: * mlocate-updatedb.service

You can also check the corresponding service but it does not tell you much:

sudo systemctl status mlocate-updatedb.service
* mlocate-updatedb.service - Update a database for mlocate
Loaded: loaded (/usr/lib/systemd/system/mlocate-updatedb.service; static)
     Active: inactive (dead)
TriggeredBy: * mlocate-updatedb.timer


Charlie Dennett
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux