LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 01-04-2013, 08:23 AM   #1
jtsn
Member
 
Registered: Sep 2011
Location: Europe
Distribution: Slackware
Posts: 803

Rep: Reputation: 354Reputation: 354Reputation: 354Reputation: 354
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.
 
Old 01-04-2013, 10:56 PM   #2
STDOUBT
Member
 
Registered: May 2010
Location: Stumptown
Distribution: Slackware 14.0/32bit + a T60p (2007-YS3) = YES
Posts: 261

Rep: Reputation: 61
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).
 
Old 01-05-2013, 06:10 AM   #3
Mark Pettit
Member
 
Registered: Dec 2008
Location: Cape Town, South Africa
Distribution: Slackware 14.1 64 Multi-Lib
Posts: 425

Rep: Reputation: 123Reputation: 123
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 !
 
Old 01-05-2013, 07:31 AM   #4
GazL
Senior Member
 
Registered: May 2008
Posts: 3,365

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
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.
 
Old 01-05-2013, 10:09 AM   #5
Mark Pettit
Member
 
Registered: Dec 2008
Location: Cape Town, South Africa
Distribution: Slackware 14.1 64 Multi-Lib
Posts: 425

Rep: Reputation: 123Reputation: 123
@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 !
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] updatedb.conf slocate configuration PRUNEFS & PRUNEPATHS bearsssausage Slackware 2 07-20-2012 11:40 AM
updatedb.conf: how to add nfs drive? Kropotkin Linux - Software 1 01-22-2010 05:49 PM
Slackware 13.0 Full Install: smb.conf missing karthikrr Slackware 2 09-08-2009 08:27 AM
how to configure updatedb.conf file for NFS sub-directory ursidious Linux - Newbie 1 04-05-2005 05:00 PM
missing updatedb file dowmun Linux From Scratch 4 08-25-2003 01:48 PM


All times are GMT -5. The time now is 11:03 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration