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 531516 - gvfs fuse mount is not functional after logout and subsequent login
gvfs fuse mount is not functional after logout and subsequent login
Status: RESOLVED FIXED
Product: gvfs
Classification: Core
Component: fuse
0.2.x
Other Linux
: Normal major
: ---
Assigned To: Hans Petter Jansson
gvfs-maint
Depends on:
Blocks:
 
 
Reported: 2008-05-05 09:09 UTC by Sebastien Bacher
Modified: 2008-08-13 07:33 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
gvfs-bgo531516-fuse-cleanup-when-killed.patch (974 bytes, patch)
2008-05-21 20:56 UTC, Hans Petter Jansson
none Details | Review
gvfs-bgo531516-fuse-cleanup-when-killed.patch (1.35 KB, patch)
2008-05-22 23:10 UTC, Hans Petter Jansson
none Details | Review

Description Sebastien Bacher 2008-05-05 09:09:09 UTC
The bug has been opened on https://bugs.launchpad.net/ubuntu/+source/gvfs/+bug/212789

"GVFS-backed mounts are working perfectly on fresh OS boot. After logout and following login every attempt to access $HOME/.gvfs (i.e. with ls or df) results in 'Transport endpoint is not connected' error message. At the same time $HOME/.gvfs is present in /etc/mtab. Also GVFS-mounts are accessible through FUSE when /usr/lib/gvfs/gvfs-fuse-daemon is called with some other directory as argument."
Comment 1 Hans Petter Jansson 2008-05-21 20:56:12 UTC
Created attachment 111298 [details] [review]
gvfs-bgo531516-fuse-cleanup-when-killed.patch

Patch that fixes the problem. I'm about to commit this to trunk and gnome-2-20 branches.
Comment 2 Hans Petter Jansson 2008-05-21 21:35:07 UTC
I meant trunk and gnome-2-22, obviously. Committed.
Comment 3 Sebastien Bacher 2008-05-22 13:19:31 UTC
that doesn't work correctly, reopening the bug, the gvfs-fuse-daemon doesn't get a signal but exit code 1 because the session dbus bus is closed
Comment 4 Hans Petter Jansson 2008-05-22 19:25:03 UTC
So this bug has two parts: One is the fact that the daemon can get killed by a signal (which was happening on my setup), and another is that the D-Bus library calls exit. The first one is fixed, and I'm now addressing the second issue.
Comment 5 Hans Petter Jansson 2008-05-22 23:10:56 UTC
Created attachment 111371 [details] [review]
gvfs-bgo531516-fuse-cleanup-when-killed.patch

Revised patch.
Comment 6 Hans Petter Jansson 2008-05-22 23:12:04 UTC
Sebastien, can you test the new patch and let me know if it works for you?
Comment 7 Hans Petter Jansson 2008-05-23 03:26:52 UTC
I committed this fix to trunk and gnome-2-22.

Also committed a batch of locking/life-cycle fixes to both branches. It should cut down on the random crash factor you mentioned.
Comment 8 Hans Petter Jansson 2008-05-23 03:27:45 UTC
I'm pretty sure I fixed the login/out problem, so closing the bug again.
Comment 9 sarna 2008-06-19 23:26:36 UTC
Uh, well...
I down loaded 8.04 last week to a CD. Fresh install onto two laptops, my HP xe3
and my wife's Dell (both 700 MHz machines of about the same age). Standard install, except I split /home onto a separate logical partition, so later upgrades wouldn't screw with our data.

After a couple of reboots, got the message about the unknown ending on .gvfs on the Dell. fsck fixed that, but both machines now have a file with permissions of 
???????, and I cannot delete nor change the name of that file -- even as root.

I was also trying to get these two set up on the network, without success, but that appears to be a network DHCP problem (both went on OK with a static address).

BTW-- On my screen it says you think you fixed the problem on 2008-05-23, which I take to be the 23rd of June ... It's the 19th where I live, so I'm unsure of what got fixed when, How long after you fix things do they go out with a downloaded CD?

Thanks,

Red 
Comment 10 Hans Petter Jansson 2008-08-13 07:33:01 UTC
To comment #9: These fixes never go out with older downloaded CDs. The Ubuntu CDs are set in stone when first generated, afaik. You'll have to run the online updater to get the fixes, if Ubuntu pulled it from the GNOME repository (where I fix things). And I think they have.