After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 579644 - Serialize mount operations in gvfsd
Serialize mount operations in gvfsd
Status: RESOLVED OBSOLETE
Product: gvfs
Classification: Core
Component: daemon
unspecified
Other Linux
: Normal normal
: ---
Assigned To: gvfs-maint
gvfs-maint
Depends on: 579634
Blocks:
 
 
Reported: 2009-04-20 19:34 UTC by Matthias Clasen
Modified: 2018-09-21 16:43 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Matthias Clasen 2009-04-20 19:34:16 UTC
Mounting should be serialized in gvfsd


+++ This bug was initially created as a clone of Bug #579634 +++

When I plug in my camera, I get two autorun dialogs plus and error dialog. I can understand the two autorun dialogs, since there are two actual stores on the camera (see the attached gphoto2 --summary output), but the error dialog is kinda bad.

It says:

Unable to mount Kodak Co. Digital Camera
Error initializing camera: -60: Could not lock the device

So I assume what is happening is that gvfs is mounting the camera when it sees the first storage, and then when it tries to handle the second one, the camera is already mounted. 

Is there a way for the gphoto backend to notice that the camera is already mounted, and return an already-mounted error in this case ?
Comment 1 GNOME Infrastructure Team 2018-09-21 16:43:54 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to GNOME's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/gvfs/issues/91.