On Mon, Sep 19, 2016 at 10:04:21PM +0200, Patrick Dupre 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 ?
Sorry for the erroneous post. Turns out the cron file I
have is a leftover from F22 and earlier. With F23 it
went with to the systemd service Tom mentions. My cron
file was left behind because I had modified it and
renamed it mlocate.cron.local.
As to locate not finding new files, two possibilities
even if things are running properly.
The db is only automatically updated daily. So if you
create a file and try to locate it before the auto-update,
it will not find it.
The other possibility is a permissions situation. mlocate
will not show you the names of files you are not allowed
to access. So if you create new files as a different
user, or under a permission protected directory, mlocate
will not show them to you.
> > Sent: Monday, September 19, 2016 at 9:15 PM
> > From: "Tom Horsley" <horsley1...@gmail.com>
> > To: "Patrick Dupre" <pdu...@gmx.com>
> > Cc: firstname.lastname@example.org
> > Subject: Re: anacron/cron
> > On Mon, 19 Sep 2016 20:47:20 +0200
> > Patrick Dupre wrote:
> > > Sorry, but I do not have
> > > /etc/cron.daily/mlocate.cron
> > This is all part of the systemd fungus experience as it
> > attempts to engulph all of linux.
> > An rpm -q --list mlocate shows these files on my fedora 24
> > system:
> > /usr/lib/systemd/system/mlocate-updatedb.service
> > /usr/lib/systemd/system/mlocate-updatedb.timer
> > So it is now running on a systemd timer, not in cron
> > (this helps make sure no one has any idea what the heck
> > is going on).
> users mailing list -- email@example.com
> To unsubscribe send an email to users-le...@lists.fedoraproject.org
>>> End of included message <<<
Jon H. LaBadie jo...@jgcomp.com
users mailing list -- firstname.lastname@example.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org