Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 233690 - sys-apps/slocate-3.1-r1 - updatedb prunes fuse.encfs mounts
Summary: sys-apps/slocate-3.1-r1 - updatedb prunes fuse.encfs mounts
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-08-02 10:57 UTC by Rayne Olivetti
Modified: 2008-08-02 16:56 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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...