fam and libgamin functionally conflict

Bug #10013 reported by Julien Olivier
22
Affects Status Importance Assigned to Milestone
fam (Ubuntu)
Fix Released
High
Jeff Waugh

Bug Description

Since I replaced fam with gamin (running hoary), I'm experiencing some problems
with file alteration monitoring.

 - After I empty the recent documents list, the file ~/.recently-used is empty,
but the list of files still appear in GNOME's main menu
 - Files put in Nautilus' trash don't appear in the trash applet. And the "empty
trash" option is greyed out even if there are files in it.
 - It takes about 4 seconds before files created or deleted in CLI are noticed
by Nautilus. But they *are* noticed, which shows that file monitoring actually
works.
 - Maybe resulting from this, Nautilus is now *extremely* slow when opening folders.

Maybe the problems don't come from gamin, but form Nautilus, the trash applet or
gnomevfs2 though...

Revision history for this message
Jeff Waugh (jdub) wrote :

Have you restarted your session since doing this, and ensured that all the user
daemons were not running? (Easy way of doing this is rebooting, but that always
sounds lame.) :-)

Revision history for this message
Julien Olivier (julo) wrote :

Yes, I immediately rebooted after upgrading.

However, I've just noticed that I had the following packages installed:

-fam
-libgamin0

It seems I have only replaced libfam by libgamin. So I tried replacing "fam"
package by "gamin" package too.

After a new reboot, things seem to work perfectly now. Does it make sense ?

Revision history for this message
Jeff Waugh (jdub) wrote :

Yeah, makes perfect sense. :-) I need to find a solution to the fam/libgamin
interaction that is not as scary as a Conflict (or the dpkg guys will eat me).
ubuntu-desktop depends on gamin, so this shouldn't be a problem with a normal
upgrade (perhaps it hadn't changed by the time you'd upgraded).

Thanks.

Revision history for this message
Britt Selvitelle (britt) wrote :

(In reply to comment #3)
> Yeah, makes perfect sense. :-) I need to find a solution to the fam/libgamin
> interaction that is not as scary as a Conflict (or the dpkg guys will eat me).
> ubuntu-desktop depends on gamin, so this shouldn't be a problem with a normal
> upgrade (perhaps it hadn't changed by the time you'd upgraded).
>
> Thanks.

I can confirm that this happened when updating my notebook as well. apt-get
install gamin fixed the problem. I have also seen this several times on irc in
the last few days.

Revision history for this message
Julien Olivier (julo) wrote :

When I said "things seem to work perfectly now", I was being a bit optimistic :)

After some hours of testing, it seems that, from time to time, and without any
obviou reason, the trash applet and the recent documents menu just stop
refreshing themselves. Then, a few minutes later, it works again...

I know I already used to have some problems with gamin when using Fedora Core,
so it might be the same problem
(https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=130859).

Revision history for this message
Jeff Waugh (jdub) wrote :

Thanks - we're actually using a very recent version of gamin, too. I'll track
this, and keep bugging DV about it. :-)

Revision history for this message
Sebastien Bacher (seb128) wrote :

*** Bug 10258 has been marked as a duplicate of this bug. ***

Revision history for this message
Jeff Waugh (jdub) wrote :

gamin 0.0.18-0ubuntu1 has been uploaded, so libgamin depends on gamin. There is
no conflict against fam yet, because I don't believe it is necessary (even
though it would be desireable to remove fam on upgrade). So this, at least,
solves the slowdown problem. :-)

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.