Public bug reported:

Binary package hint: mlocate

This is with mlocate 0.22.2-1ubuntu in Ubuntu 10.04.1.

I ran locate on some all-too-common search string, and was surprised to
see it list results such as:

/home/tv/.Private/ECRYPTFS_FNEK_ENCRYPTED.*

there is absolutely no value in indexing the encrypted form of those,
and it just seems like a waste of cpu/disk/whatnot.

mlocate's inflexibility is problematic.. We can't do
PRUNENAMES="ECRYPTFS_FNEK_ENCRYPTED.*" as it has no clue about globbing.
PRUNEPATHS="/home/*/.Private" seems equally impossible.
PRUNENAMES=Private has false positives, but it seems to be the best that
is possible, and I've confirmed it to work.

** Affects: mlocate (Ubuntu)
     Importance: Undecided
         Status: New

-- 
mlocate should not index ~/.Private, there's nothing of interest there
https://bugs.launchpad.net/bugs/662437
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to