Bug 130954 - gamin 0.0.7 not seeing all the fstab changes
Summary: gamin 0.0.7 not seeing all the fstab changes
Alias: None
Product: Fedora
Classification: Fedora
Component: gamin
Version: rawhide
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Daniel Veillard
QA Contact:
Depends On:
Blocks: FC3Target
TreeView+ depends on / blocked
Reported: 2004-08-26 01:36 UTC by Jef Spaleta
Modified: 2007-11-30 22:10 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2004-09-01 08:55:39 UTC

Attachments (Terms of Use)

Description Jef Spaleta 2004-08-26 01:36:29 UTC
Description of problem:
gam_server doesn't seem to more than the initial change in fstab
when im (un)plugging usb devices.

hal and udev seem to be working just fine the /etc/fstab file
is updated when i plug and unplug usb devices.

But to get the devices to show or disappear in nautilus Computer view
I have to kill gam_server. gam_server immediately restarts and
nautilus updates with the newest view.

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

How reproducible:
Everything but the initial plugin of the first usb device is not seen.

Steps to Reproduce:
1. plugin usb keydrive
2. watch it appear in nautilus Computer window
3. mount it, create the "i_love_meatballs.xcf" in the gimp
4. unmount the usbdisk
5. watch in horror as nautilus continues to show this device in its
6.killall gam_server
7. watch the device disappear from Computer view, and put on your
saddest clown makeup.

Expected results:
auto updating of the icons in Computer when i unplug the device.

Additional info:
I am rawhide synced except for hal. I am using
hal-0.2.97.cvs20040819-1  since hal-0.2.97.cvs20040823-1
is having issues daemonizing and the hal to fix that didnt show up in
rawhide today :-<.  But like i said the /etc/fstab entry and the
associated /media/ mountpoints are updating like i expect so i dont
think its hal, i think its gamin 0.0.7.

Am I hitting the "feature" you talked about in your blog?


Comment 1 Daniel Veillard 2004-08-26 08:47:56 UTC
What lead you to believe that gam_server is used to watch 
/etc/fstab ? This contradict my understanding of the issue
(which is that you have a lazy umount which doesn't finish
due to the persistant open led by dnotify.

Your report is confusing:
  "to get the devices to show or disappear in nautilus Computer view
   I have to kill gam_server."
and in the step to reproduce between 1 and 2 you don't kill 
gam_server so it does show without killing it, right ?

What is the mount point used for your USB key ? I do not have the
hardware to reproduce this.


Comment 2 Jef Spaleta 2004-08-26 12:19:57 UTC
"What lead you to believe that gam_server is used to watch 

I honestly don't how the magic works specifically.

My first sentence, while being very bad english, was meant to clarify
that the first device that i plug in, gets seen in Computer and only
the first device I plugin. No plugin or unplug after that gets noticed
by the Computer window, even though fstab and the /media/ mountpoints
are updated.

But anything else i do after that, until i forcible kill gam_server
doesn't produce an update in the Computer window,

Mount point for the usb key is /media/usbdisk1

another scenario
1) i plugin a usb keydrive fstab updates and then Compyuter window
updates  mountpoint /media/usbdisk1
2) i plugin a flash card into my flash card reader fstab updates but
the Computer window doesn't  mountpoint /media/usbdisk
3)I kill gam_server   and now both usbdrive and usbdrive1 icons are
present in Computer.

If there are specific things you would like me to log, I'd greatly
appreciate some pointers on how to squeeze more information out of my
system as to whats going on. 

Though I can't get back to testing this box for a couple of days.

Comment 3 Daniel Veillard 2004-08-26 15:50:35 UTC
I just pushed gamin-0.0.8 it would be interesting to see if this
still break :
grab the src.rpm and recompile or wait for the rawhide update


Comment 4 Jef Spaleta 2004-08-27 23:42:50 UTC
Okay, gamin-0.0.8 seems to have fixed this issue. 
When hal actually works for me... and updates the mountpoints for the
usb devices correctly.. the nautilus Computer window updates
accordingly. In fact I can hand edit the /etc/fstab file now and had
user mountable entries and the Computer window uppdates with the new
entries.  Unless I hear otherwise from you, I'll close this bug report
tomorrow morning. 


Comment 5 Daniel Veillard 2004-09-01 08:55:39 UTC
Okay, closed in RawHide,



Comment 6 Julien Olivier 2004-09-03 11:08:46 UTC
I still see the proble with gamin-0.0.8, but only from time to time.

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