On 10/30/17 19:56, Eyal Lebedinsky wrote: > On 30/10/17 22:32, Patrick Dupre wrote: >> Hello, >> >> updatedb does not run periodically. >> Where should I initiate it (cron ?). > > I was wondering the same question earlier today when 'locate' failed to show a file > I knew exists. > > I noticed that there is a related service: > > $ sudo systemctl status mlocate-updatedb > [sudo] password for eyal: > * mlocate-updatedb.service - Update a database for mlocate > Loaded: loaded (/usr/lib/systemd/system/mlocate-updatedb.service; static; vendor > preset: disabled > Active: inactive (dead) > > I also see once daily ('round midnight) audit messages mentioning this service. > > Is it related? Should it be enabled? > > No, it should not be enabled since it is a "static" service. You want... systemctl enable mlocate-updatedb.timer systemctl start mlocate-updatedb.timer -- Fedora Users List - The place to go to speculate endlessly
Attachment:
signature.asc
Description: OpenPGP digital signature
_______________________________________________ users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx