Bug 488399 - Nautilus confuses fuse encfs/sshfs mounts, causing duplicate icons on desktop
Summary: Nautilus confuses fuse encfs/sshfs mounts, causing duplicate icons on desktop
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: gvfs
Version: rawhide
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Tomáš Bžatek
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
: 488573 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-03-04 04:33 UTC by Mace Moneta
Modified: 2015-03-03 22:34 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-03-04 21:36:09 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
devkit-disks ouput (20.81 KB, text/plain)
2009-03-04 20:28 UTC, Mace Moneta
no flags Details
/etc/mtab (665 bytes, text/plain)
2009-03-04 20:29 UTC, Mace Moneta
no flags Details
/proc/mounts (919 bytes, text/plain)
2009-03-04 20:30 UTC, Mace Moneta
no flags Details
gvfs-mount (3.03 KB, text/plain)
2009-03-04 20:30 UTC, Mace Moneta
no flags Details

Description Mace Moneta 2009-03-04 04:33:15 UTC
Description of problem:

After todays updates, my desktop showed two "Backup" icons.  The actual volume "Backup" is /dev/sdb1 that I use to backup /dev/sda1.  It is normally not mounted.  The two "Backup" volume icons on the destop are actually fuse sshfs and encfs mounts that are now being displayed with the "Backup" volume name instead of their mountpoint directories (which had previously been the case).  I confirmed that this occurs even on a newly added userid, so no corruption is involved.

Version-Release number of selected component (if applicable):

gvfs-1.1.7-2.fc11.x86_64

How reproducible:

Always

Steps to Reproduce:
1.Have an unmounted drive
2.Mount some sshfs an encfs drives
3.Watch the fun
  
Actual results:

Duplicate icons, with incorrect labels

Expected results:

Normally, the icons appear with their mountpoint directory names.

Additional info:

You can see the duplicates in the following display.  The mountpoints:

/home/mmoneta/bmoneta-mmouse
/home/mmoneta/.app-configfiles

are the ones that are appearing with "Backup" volume icons.

$ gvfs-mount -l
Drive(0): HL-DT-ST DVD-RAM GH22LS30
  Type: GProxyDrive (GProxyVolumeMonitorGdu)
Drive(1): BELKIN USB 2 HS-CF
  Type: GProxyDrive (GProxyVolumeMonitorGdu)
Drive(2): BELKIN USB 2 HS-SM
  Type: GProxyDrive (GProxyVolumeMonitorGdu)
Drive(3): BELKIN USB 2 HS-SD/MMC
  Type: GProxyDrive (GProxyVolumeMonitorGdu)
Drive(4): 500 GB ATA WDC WD5000AAJS-2
  Type: GProxyDrive (GProxyVolumeMonitorGdu)
  Volume(0): Backup
    Type: GProxyVolume (GProxyVolumeMonitorGdu)
    Mount(0): Backup -> file:///home/mmoneta/bmoneta-mmouse
      Type: GProxyMount (GProxyVolumeMonitorGdu)
Drive(5): BELKIN USB 2 HS-MS
  Type: GProxyDrive (GProxyVolumeMonitorGdu)
Drive(6): HL-DT-ST DVD-RAM GH22LS30
  Type: GProxyDrive (GProxyVolumeMonitorGdu)
Mount(1): Backup -> file:///home/mmoneta/.app-configfiles
  Type: GProxyMount (GProxyVolumeMonitorGdu)
Mount(2): mmouse-shm -> file:///home/mmoneta/mmouse-shm
  Type: GProxyMount (GProxyVolumeMonitorGdu)

Comment 1 Mace Moneta 2009-03-04 19:25:23 UTC
Today I inserted a blank DVD to burn off some files.  The "Blank CD/DVD" icon and label were correctly shown.

I burned the DVD with Gnome's cd/dvd creator, after which the disc was ejected.  I then reinserted the DVD to check the contents, and it came up with the "Backup" label and hard drive icon.

As a result, there was no eject option in the right click menu.  I had to eject the disc from the command line.

Comment 2 David Zeuthen 2009-03-04 20:14:52 UTC
(In reply to comment #0)
> Description of problem:
> 
> After todays updates, my desktop showed two "Backup" icons.  The actual volume
> "Backup" is /dev/sdb1 that I use to backup /dev/sda1.  It is normally not
> mounted.  The two "Backup" volume icons on the destop are actually fuse sshfs
> and encfs mounts that are now being displayed with the "Backup" volume name
> instead of their mountpoint directories (which had previously been the case). 
> I confirmed that this occurs even on a newly added userid, so no corruption is
> involved.

Please attach the output of 

 1. devkit-disks --dump

 2. cat /proc/mounts

 3. cat /etc/mtab

 3. gvfs-mount -li

when experiencing this problem (and generally when reporting bugs regarding icon/name problems in GNOME.)

Thanks.

For 1. you will need DeviceKit-disks-003-3.fc11, get it here

 http://koji.fedoraproject.org/koji/buildinfo?buildID=92675

or wait until tomorrow's rawhide.

Comment 3 Mace Moneta 2009-03-04 20:28:36 UTC
Created attachment 334050 [details]
devkit-disks ouput

Comment 4 Mace Moneta 2009-03-04 20:29:03 UTC
Created attachment 334051 [details]
/etc/mtab

Comment 5 Mace Moneta 2009-03-04 20:30:06 UTC
Created attachment 334052 [details]
/proc/mounts

Comment 6 Mace Moneta 2009-03-04 20:30:37 UTC
Created attachment 334053 [details]
gvfs-mount

Comment 7 David Zeuthen 2009-03-04 20:42:34 UTC
OK, thanks for the output. So this is basically a bug in the GVfs gdu volume monitor. Mace, any chance you can give me some hints about how I can reproduce this such as a step-by-step guide on how to set this up? (I have very little experience with encfs)

Comment 8 David Zeuthen 2009-03-04 21:36:09 UTC
OK, I managed to reproduce this with just using sshfs. The fix is in gvfs-1.1.7-3.fc11

http://koji.fedoraproject.org/koji/taskinfo?taskID=1221761

Please reopen if this doesn't fix the problem. Thanks.

Comment 9 David Zeuthen 2009-03-04 21:39:13 UTC
*** Bug 488573 has been marked as a duplicate of this bug. ***

Comment 10 Tom London 2009-03-04 21:54:39 UTC
gvfs-1.1.7-3.fc11.x86_64 (and friends) makes this "work for me".

I installed, logged off/on, and rebooted/logged in.  Both times the "right" FS's were mounted and the proper icons/labels were on the desktop.

Thanks.

Comment 11 Mace Moneta 2009-03-05 03:59:44 UTC
Confirming that it works for me as well.


Note You need to log in before you can comment on or make changes to this bug.