GVFS hangs after logout

Hi,

When I log out from my gnome session on openSuse 11.1, I have a process named gvfs-fuse-daemon that stays running for the logged out user. When I try to reconnect, the desktop don’t show. If I manually kill the process before login, everything is fine.

Also the bonobo-activation server sometime hangs at logout.

Using these versions of gvfs :

gvfs-fuse-1.0.2-3.3
libgvfscommon0-1.0.2-3.3
gvfs-1.0.2-3.3
gvfs-backends-1.0.2-3.3

I didn’t find the real cause for the hang but I have a working work around : running a fusermount -u at logout solves my problem. To do that, I replaced the file /etc/gdm/PostSession/Default with this :

#!/bin/sh

unmount gvfs and kill all remaining user process

fusermount -u /home/${USER}/.gvfs
pkill -9 -U “${USER}”

if test -x /etc/X11/xdm/Xreset; then
exec /etc/X11/xdm/Xreset
fi

exit 0