GNOME Bugzilla – Bug 531516
gvfs fuse mount is not functional after logout and subsequent login
Last modified: 2008-08-13 07:33:01 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."
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.
I meant trunk and gnome-2-22, obviously. Committed.
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
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.
Created attachment 111371 [details] [review] gvfs-bgo531516-fuse-cleanup-when-killed.patch Revised patch.
Sebastien, can you test the new patch and let me know if it works for you?
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.
I'm pretty sure I fixed the login/out problem, so closing the bug again.
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
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.