Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 233690

Summary: sys-apps/slocate-3.1-r1 - updatedb prunes fuse.encfs mounts
Product: Gentoo Linux Reporter: Rayne Olivetti <rayneolivetti>
Component: Current packagesAssignee: Gentoo's Team for Core System packages <base-system>
Status: RESOLVED INVALID    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Rayne Olivetti 2008-08-02 10:57:24 UTC
Even though there's nothing encfs related in /etc/updatedb.conf, updatedb always prunes fuse.encfs mounts.

Reproducible: Always

Steps to Reproduce:
1. Mount an encfs directory
2. Run updatedb
3. Try "locate"ing a file under encfs mount

Actual Results:  
Locate never finds anything about files under encfs mount dir.

Expected Results:  
To find the files under encfs mount dir with locate.
Comment 1 Carsten Lohrke (RETIRED) gentoo-dev 2008-08-02 14:10:41 UTC
Which locate implementation are you using?
Comment 2 Rayne Olivetti 2008-08-02 16:27:10 UTC
(In reply to comment #1)
> Which locate implementation are you using?
> 

GNU slocate, of course. To be precise, sys-apps/slocate-3.1-r1.
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2008-08-02 16:41:39 UTC
(In reply to comment #2)
> (In reply to comment #1)
> > Which locate implementation are you using?
> > 
> 
> GNU slocate, of course. To be precise, sys-apps/slocate-3.1-r1.

Oh, so "of course" you don't use rlocate or mlocate... :)
Comment 4 Rayne Olivetti 2008-08-02 16:56:01 UTC
I noticed that the problem has nothing to do with updatedb: encfs (actually, FUSE) mounted directories (with default opts) seems to be available to the user who mounted it. Even root cannot seem to be able to access to that directory. To do so, one has to run encfs with --public, and as root.

Sorry for the trouble...