Slackware This 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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
01-04-2013, 08:23 AM
|
#1
|
|
Member
Registered: Sep 2011
Location: Europe
Distribution: Slackware
Posts: 282
Rep:
|
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.
|
|
|
|
01-04-2013, 10:56 PM
|
#2
|
|
Member
Registered: May 2010
Location: Stumptown
Distribution: Slackware 13.37~14.0~xmonad
Posts: 129
Rep:
|
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).
|
|
|
|
01-05-2013, 06:10 AM
|
#3
|
|
Member
Registered: Dec 2008
Location: Cape Town, South Africa
Distribution: Slackware 14.0 64 Multi-Lib
Posts: 280
Rep:
|
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 !
|
|
|
|
01-05-2013, 07:31 AM
|
#4
|
|
Senior Member
Registered: May 2008
Posts: 2,843
|
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.
|
|
|
|
01-05-2013, 10:09 AM
|
#5
|
|
Member
Registered: Dec 2008
Location: Cape Town, South Africa
Distribution: Slackware 14.0 64 Multi-Lib
Posts: 280
Rep:
|
@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 !
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 12:58 AM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|