Slackware 14.0 is missing /run in PRUNEPATHS in /etc/updatedb.conf
SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Slackware 14.0 is missing /run in PRUNEPATHS in /etc/updatedb.conf
So updatedb(1) from slocate-3.1 accidentally indexes Poetterings's tmpfs and all media mounted below /run/media. I don't think, the latter was intended behaviour, because /mnt and /media are listed explicitly.
Do not question the Pottering!
Just kidding. Thank you for this post, I've learned something new about updatedb.
Meanwhile, I'm still enjoying the crap out of 13.37. Once I figure out how to sufficiently de-Potterize 14.0, I might upgrade to it on my main system (already bought the DVD).
Thanks. I usually keep stuff (*cough *cough) that I wouldn't want the kids to see on a separate drive. Sometimes that's attached at night. I wouldn't like the contents of that indexed !
Yep, it does look like /run needs to be added. My PRUNEFS= line has tmpfs on it, but while this stops updatedb from indexing /run itself, it doesn't stop updatedb from traversing /run into any filesystems mounted under it (such as those under /run/media). Well spotted.
@Mark,
slocate will only list files that are both currently accessible, and readable by the user running the query. So, unless your kids have root access and are knowledgeable enough to try and run something like 'strings' against /var/lib/slocate/slocate.db then daddy's nocturnal activities involving "stuff" should remain undetected.
@GazL - thanks for that tip. I was under the impression that the slocate database remained in force until the next running of the updatedb command - ie approx 4:00 am daily. 13 years running Linux and I still learn new stuff !
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.