updatedb should exclude sshfs by default

Bug #371749 reported by Ryan Thompson
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
mlocate (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

Binary package hint: findutils

By default, updatedb will index filesystems mounted over the network via sshfs, the fuse ssh filesystem. I assume that default policy is not to index files across the network, in which case sshfs should be added to PRUNEFS in updatedb.conf.

Also, /mnt should probably be added to PRUNEPATHS, just like /media already is.

Ryan Thompson (rct86)
affects: findutils (Ubuntu) → mlocate (Ubuntu)
Changed in mlocate (Ubuntu):
importance: Undecided → Medium
status: New → Triaged
Revision history for this message
ski (skibrianski) wrote :

This needs to be fixed. I recently changed my sshfs mountpoint from under /media to my home directory, and that resulted in my nightly mlocate scripts filling my disk. What makes this worse is when you are using the -o follow_symlinks option, which can result (in my case) in infinitely large paths, guaranteeing updatedb will *never* finish.

Revision history for this message
ski (skibrianski) wrote :

Wow, still not fixed? This is an easy fix guys. Just add fuse.sshfs to PRUNEFS in /etc/updatedb.conf ...

Revision history for this message
Andy Hauser (andy-ubuntu-bugzilla) wrote :

Similar to #431925 which requests similar things for glusterfs and /net. Low hanging fruit, big gain.
See list of notified people. Thanks.

Revision history for this message
Colin Watson (cjwatson) wrote :

Fixed in Lucid.

mlocate (0.21.1-3) unstable; urgency=low

  [ Adeodato Simó ]
  * Remove the "mlocate" group on purge. No other files than the mlocate.db
    database should belong to said group, and since it also gets removed on
    purge, it should be safe to remove the group as well. (Closes: #520017)

  [ Tollef Fog Heen ]
  * Adopt package. (Closes: #548351)
  * Add fuse.glusterfs to PRUNEFS. (Closes: #535170)
  * Add fuse.sshfs to PRUNEFS. (Closes: #526262)
  * Stop giving out an error when not running updatedb because we are on
    battery. (Closes: #519188)
  * Remove XS-X-Collab-Maint from debian/control, it seems it didn't take
    off

 -- Tollef Fog Heen <email address hidden> Sat, 03 Oct 2009 08:59:31 +0200

Changed in mlocate (Ubuntu):
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.