Re: updatedb

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

 



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
[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