Bug 147673 - gam_server/gamin stops working after apm suspend/resume
Summary: gam_server/gamin stops working after apm suspend/resume
Alias: None
Product: Fedora
Classification: Fedora
Component: gamin   
(Show other bugs)
Version: 3
Hardware: i386
OS: Linux
Target Milestone: ---
Assignee: Alexander Larsson
QA Contact:
Depends On:
TreeView+ depends on / blocked
Reported: 2005-02-10 14:20 UTC by Jason 'vanRijn' Kasper
Modified: 2007-11-30 22:11 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2007-07-23 23:17:16 UTC
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

Description Jason 'vanRijn' Kasper 2005-02-10 14:20:58 UTC
From Bugzilla Helper:
User-Agent: Opera/8.0 (X11; Linux i686; U; en)

Description of problem:
/usr/libexec/gam_server stops notifying korganizer that its std.ics file has changed after 
I suspend and resume, using APM.

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1. touch ~/.kde/share/apps/korganizer/std.ics after restarting gam_server
2. observe that korganizer is informed of the change
3. suspend/resume
4. touch ~/.kde/share/apps/korganizer/std.ics
5. observe that korganizer is not informed of the change by FAM
6. killall gam_server, which causes it to restart
7. quit korganizer (or any application that uses FAM) and restart it
8. GOTO 1

Actual Results:  gam_server doesn't look like it is notifying anything of filesystem 
changes after an apm suspend/resume

Expected Results:  It should have.  =:)

Additional info:

The problem here is that when this layer breaks, I lose ALL data that I put into an 
application that depends on it.  In this case, it is korganizer, and anything that I enter 
into my Palm gets lost because korganizer doesn't get notified that its ics file has 
changed and then it overwrites it, losing my data.  For this reason, I'm marking the 
severity as high, because this causes loss of data.

Comment 1 Daniel Veillard 2005-02-10 14:46:25 UTC
very first thing to do is to retry with gamin-0.0.23 from
rawhide or http://www.gnome.org/~veillard/gamin/downloads.html


Comment 2 Jason 'vanRijn' Kasper 2005-02-14 21:53:16 UTC
Okay, I'm not running gamin-0.0.23-1 and I still have this problem.  I have rebooted after 
upgrading gamin (just to be sure), and I still am seeing korganizer not get notified from 
FAM when I touch its file.

Also, something other than suspend/resume must be causing this, because I have not 
suspended/resumed today, yet I'm still seeing this disconnect.

Comment 3 Jason 'vanRijn' Kasper 2005-02-14 21:59:33 UTC

s/not running/now running/  

=:/  Also, note, that if I restart korganizer and then touch its ics file, then it is notified, 
but after a period of time, it stops working.

Comment 4 Daniel Veillard 2005-02-14 23:03:48 UTC
yes there is a bug where gamin sometimes looses the dnotify 
registration for the directory of monitored resources. I'm still
chasing that bug ...


Comment 5 Jason 'vanRijn' Kasper 2005-02-26 03:47:47 UTC
It sure seems like an apm suspend/resume will reliably trigger whatever it is that is going wrong.  I 
just resumed again today when I got home from work and lost 2 appointments that I added on my 
palm pilot because korganizer wasn't notified that its file had changed by gamin and then 
subsequently overwrote my changes.  Really frustrating.  Is there anything I can do to help debug 

Comment 6 Matthew Miller 2006-07-10 23:36:43 UTC
Fedora Core 3 is now maintained by the Fedora Legacy project for security
updates only. If this problem is a security issue, please reopen and
reassign to the Fedora Legacy product. If it is not a security issue and
hasn't been resolved in the current FC5 updates or in the FC6 test
release, reopen and change the version to match.

Thank you!

Comment 7 Jason 'vanRijn' Kasper 2007-07-23 23:17:16 UTC
I'm not running Fedora anymore.  Feel free to close it, though I don't know if
the problem is actually fixed.  FWIW, I don't see this problem in SUSE, so it
may very well be that either SUSE is using a different FAM, or that the problem
has been fixed.

Note You need to log in before you can comment on or make changes to this bug.