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.
i can confirm the bug. i had to symlink /var/lock to /run/lock as a workaround.
Confirmed. /etc/cron.daily/mlocate should be updated to set the proper path in the LOCKFILE variable. LOCKFILE="/run/lock/mlocate.daily.lock" @fauli: Any concerns if I fixed it?
/var/lock should already be a symlink to /run/lock