! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
viewing an sshfs mount brakes FAM support
Status:
RESOLVED: INVALID

Comments

Description Yoann Pannier 2007-04-26 12:22:06 CEST
User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.3) Gecko/20070322 Firefox/2.0.0.3
Build Identifier: 

If at one point i open a directory which is an sshfs mount, Thunar loose its ability to monitor file alterations for the rest of the current session, for any new view.

I need to logout/login to get FAM support back.

Reproducible: Always

Steps to Reproduce:
1. test FAM support in a directory view by externally creating a file (touch ${testdir} testfile), see that Thunar refreshes itself.
2. open an sshfs mounted directory in Thunar
3. re-Test FAM support in a new view, see that it do not work anymore.




thunar-0.8.0, xfce-4.4.1, glib-2.12.9, gtk+-2.10.9
Comment 1 Yoann Pannier 2007-04-26 12:32:06 CEST
maybe i should have added that i also use : fuse-2.6.3, sshfs-fuse-1.6, kernel gentoo-sources-2.6.19-r5 and gamin-0.1.8
Comment 2 Benedikt Meurer editbugs 2007-04-27 14:21:56 CEST
That's most likely a bug in gamin then, because Thunar handles sshfs mounts like any other folder wrt. the FAM API. Maybe gamin segfaults?
Comment 3 Yoann Pannier 2007-04-28 10:07:11 CEST
After checking it, no, gamin does not segfaults.

I manualy launched a gam_server with --notimeout and a client ID, and made thunar use this particular gam_server by exporting GAM_CLIENT_ID : viewing an sshfs mount do not make the gam_server die, and as soon as i restart thunar (connecting to the same still alive gam_server), everything works again until i go to the sshfs mount again.

If i monitor events sent by the gam_server using a simple python script, i see that events are actually sent even after the sshfs stuff, and received by the script but not by thunar.
Comment 4 Yoann Pannier 2007-04-28 10:09:05 CEST
Created attachment 1109 
simple event monitoring script

the script i used
Comment 5 Yoann Pannier 2007-04-28 12:24:55 CEST
Created attachment 1110 
simple monitor script

further testings: if i monitor 2 directories in the script (one regular and one sshfs):
- the script shows events from the regular directory, never from the sshfs one.
- if i view the sshfs dir in thunar, thunar stop showing events for all dirs, but the script continues to show events from the regular directory.

let me know if you need more info to diagnose this...
Comment 6 Robby Workman editbugs 2007-11-28 21:52:57 CET
Please see bug #3247 - http://bugzilla.xfce.org/show_bug.cgi?id=3247 
It's a dupe of this one (even though it was filed later), and the 
reporter advises that a newer gamin version (0.1.9) fixes it.
Comment 7 Yoann Pannier 2007-11-29 10:12:01 CET
> Please see bug #3247

Sorry but i do not have the possibility to do tests about this anymore.
Comment 8 Robby Workman editbugs 2007-12-04 21:44:07 CET
No big deal; I just confirmed that this works properly with gamin-0.1.9 and xfce-4.4.2 (Thunar 0.9.0).
Benny, both this and the dupe can be closed. :)
Comment 9 Benedikt Meurer editbugs 2007-12-04 22:04:49 CET
Good to hear.

Bug #3182

Reported by:
Yoann Pannier
Reported on: 2007-04-26
Last modified on: 2009-07-17

People

Assignee:
Jannis Pohlmann
CC List:
1 user

Version

Attachments

simple event monitoring script (348 bytes, text/x-python)
2007-04-28 10:09 CEST , Yoann Pannier
no flags
simple monitor script (293 bytes, text/x-python)
2007-04-28 12:24 CEST , Yoann Pannier
no flags

Additional information