On Mon, 19 Sep 2016 22:04:21 +0200
"Patrick Dupre" <pdu...@gmx.com> wrote:

> The point is that I am not sure that mlocate (or updatedb) runs
> properly because locate does not find my new files !
> How can I be sure that mlocate runs properly ?

$ systemctl status mlocate-updatedb.service
‚óŹ mlocate-updatedb.service - Update a database for mlocate
   Loaded: loaded (/usr/lib/systemd/system/mlocate-updatedb.service;
static; vendor preset: disabled) Active: inactive (dead) since Mon
2016-09-19 09:14:14 MST; 4h 7min ago Process: 1046
ExecStart=/usr/libexec/mlocate-run-updatedb (code=exited,
status=0/SUCCESS) Main PID: 1046 (code=exited, status=0/SUCCESS)

This looks like it runs at start, and that's it.  You could try running
systemctl restart mlocate-updatedb.service
and see if that updates your database.

The man pages for updatedb.conf and updatedb seem to suggest that it is
possible to run updatedb from the command line, and to create your own
local version of updatedb as a user.
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org

Reply via email to