Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 481994 - sys-apps/mlocate-0.26 - files/mlocate.cron-r2 still uses '/var/lock/mlocate.daily.lock'
Summary: sys-apps/mlocate-0.26 - files/mlocate.cron-r2 still uses '/var/lock/mlocate.d...
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo's Team for Core System packages
Depends on:
Blocks: keepdir-var-run_lock
  Show dependency tree
Reported: 2013-08-21 16:18 UTC by Christophe PEREZ
Modified: 2016-05-28 18:48 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Note You need to log in before you can comment on or make changes to this bug.
Description Christophe PEREZ 2013-08-21 16:18:46 UTC
I have sys-apps/mlocate-0.26 installed since 
   * sys-apps/mlocate-0.26
   Install date: Sun Apr 28 23:06:57 2013
and suddenly, I have a error with /etc/cron.daily/mlocate which complain about /var/lock/mlocate.daily.lock missing.
And in fact, that's /var/lock which doesn't exists on my system. I dont know why, and what removed it recently. I juste updated my system as usual.
Don't know if that's really a bug for you, or not.
Comment 1 Nick Soveiko 2013-08-25 18:35:51 UTC
i can confirm the bug. i had to symlink /var/lock to /run/lock as a workaround.
Comment 2 Marc Schiffbauer gentoo-dev 2013-08-28 12:32:42 UTC
Confirmed. /etc/cron.daily/mlocate should be updated to set the proper path in the LOCKFILE variable.


@fauli: Any concerns if I fixed it?
Comment 3 SpanKY gentoo-dev 2016-05-28 18:48:10 UTC
/var/lock should already be a symlink to /run/lock