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 529295 - Unable to unmount
Unable to unmount
Status: RESOLVED FIXED
Product: nautilus
Classification: Core
Component: [obsolete] GIO
unspecified
Other Linux
: Normal normal
: ---
Assigned To: Nautilus Maintainers
Nautilus Maintainers
Depends on:
Blocks:
 
 
Reported: 2008-04-21 22:55 UTC by Daniel James
Modified: 2009-03-11 08:23 UTC
See Also:
GNOME target: ---
GNOME version: 2.21/2.22


Attachments
Fixes the issue (3.71 KB, patch)
2009-03-10 11:34 UTC, Alexander Larsson
none Details | Review

Description Daniel James 2008-04-21 22:55:51 UTC
I can unmount obexftp mounts one time only.

After I unmount and connect again, I am unable to unmount a second time. I receive the following error in a dialog:

DBus error org.freedesktop.DBus.Error.ServiceUnknown: The name :1.32 was not provided by any .service files

The name (:1.32) changes. I can log out and then back in again to unmount.
Comment 1 Bastien Nocera 2008-05-19 16:22:55 UTC
Works fine here. This is more likely a generic gvfs problem.
Comment 2 Daniel James 2008-05-22 00:11:54 UTC
Still happens here after all current updates. The error I receive when trying to unmount the second time is:

DBus error org.freedesktop.DBus.Error.ServiceUnknown: The name :1.43 was not provided by any .service files

Just confirming though that it is not just opexftp. I cannot unmount ssh a second time either:

DBus error org.freedesktop.DBus.Error.ServiceUnknown: The name :1.33 was not provided by any .service files
Comment 3 Alexander Larsson 2009-03-10 11:34:04 UTC
Created attachment 130394 [details] [review]
Fixes the issue

This is actually a nautilus bug. It gets stuck with an old mount for the first mount after its unmounted. So, when we unmount the second time we try to unmount the first mount again.
Comment 4 Alexander Larsson 2009-03-11 08:19:30 UTC
2009-03-11  Alexander Larsson  <alexl@redhat.com>

	Bug 529295 – Unable to unmount

        * libnautilus-private/nautilus-directory-async.c:
        (got_mount):
	Set mount on NautilusFile via nautilus_file_set_mount.

        * libnautilus-private/nautilus-file-private.h:
        * libnautilus-private/nautilus-file.c:
	Add nautilus_file_set_mount to set GMount.
	Connect to "unmounted" on GMount and invalidate mount attribute
	in callback.
Comment 5 Daniel James 2009-03-11 08:23:51 UTC
Thanks!