[xubuntu-users] Updatedb and locate does not work

Lee Gold leegold at operamail.com
Wed Feb 8 23:20:17 UTC 2012


This page talks about the whole thing:

http://askubuntu.com/questions/20821/using-locate-on-an-encrypted-partition

Near the bottom of the page there's a warning about doing something
related to what what I did - editing the conf file. Right now I don't
want to read to deeply into it. I'll just reinstall Xubuntu without the
encrypted /home option. I wish I would of been warned during the install
that locate won't work on /home when you choose this option, maybe
there's a readme I should have seeen...but now I know. 


  

On Tue, Feb 7, 2012, at 03:03 PM, Ric Moore wrote:
> On 02/06/2012 10:42 PM, Lee Gold wrote:
> > Hi,
> >
> > my /etc/updatedb.conf:
> >
> > PRUNE_BIND_MOUNTS="yes"
> > # PRUNENAMES=".git .bzr .hg .svn"
> > PRUNEPATHS="/tmp /var/spool /media /home/.ecryptfs"
> > PRUNEFS="NFS nfs nfs4 rpc_pipefs afs binfmt_misc proc smbfs autofs
> > iso9660 ncpfs coda devpts ftpfs devfs mfs shfs sysfs cifs lustre_lite
> > tmpfs usbfs udf fuse.glusterfs fuse.sshfs curlftpfs ecryptfs fusesmb
> > devtmpfs"
> >
> > Ric's advice is relevant and now that I look at it I see "PRUNEPATHS"
> > which must mean "remove from the search" and I think I was searching for
> > many names in my /home dir as a quick test which did not work, and now I
> > see /home/... is "pruned". That must be my problem.
> >
> > I'm sorry, I should have read Rick's post carefully. Thank you Ric and
> > Jaska for the help.
> 
>  From what I see, /home is not pruned, only /home/.encryptfs
> But, if your /home directory is encrypted, the I would suppose one would 
> not want locate to find anything to be "found"?? I dunno... that one is 
> over my paygrade. :) Ric
> 
> 
> -- 
> xubuntu-users mailing list
> xubuntu-users at lists">xubuntu-users at lists.ubuntu.com
> Modify settings or unsubscribe at:
> https://lists.ubuntu.com/mailman/listinfo/xubuntu-users
> 

-- 
http://www.fastmail.fm - Access all of your messages and folders
                          wherever you are





More information about the xubuntu-users mailing list