Bug 149199
Summary: | Gamin and usb pendrive | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Giovanni Caruso <caruso> | ||||
Component: | gamin | Assignee: | Daniel Veillard <veillard> | ||||
Status: | CLOSED RAWHIDE | QA Contact: | |||||
Severity: | high | Docs Contact: | |||||
Priority: | high | ||||||
Version: | rawhide | CC: | atu, davidz | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | All | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2005-06-07 19:04:47 UTC | Type: | --- | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Bug Depends On: | |||||||
Bug Blocks: | 136450 | ||||||
Attachments: |
|
Description
Giovanni Caruso
2005-02-21 00:47:13 UTC
I can confirm this behavior with 0.0.24 - this makes it very difficult to work with removable storage so I'm raising the severity to high. Also fixing version to devel. Created attachment 111527 [details]
This patch disables gam_server actions on banned paths. Works foe me.
It not a perfect solution -- in disables gam_server at all
for paths, markes as excludes (not using [di]notify, not pool).
It may be acceptable for removable drives
Patch is just wrong, it's a terrible regression, sorry I really can't use this. I'm still chasing the real problem. Daniel Fix should be in release 0.0.25 of gamin available at http://www.gnome.org/~veillard/gamin/sources/ It's pushed to rawhide Daniel It looks to me that gamin-0.1.0-1.1 breaks this yet again (jrb experienced this yesterday and I've just reproduced this) so I'm reopening this bug. It's also really bad that this is the version in FC4, it really needs to be fixed so I'm changing the priority to high. DV, can you confirm the problem on your end? No. I don't have FC-4, but on RHEL-4 with the exact same version of gamin recompiled locally and nautilus-2.8.1-4, plugging my USB drive with pictures it shows up on the desktop automatically, I can browse the images, and then if I right click on the drive icon, select umount, it does umount, the window and icons disapears and df shows the volume has been unmounted. Either the paths where the device it has been mounted to have changed in FC-4 but /media/ is forbidden by default from being watched with dnotify. And this kind of checks is part of gamin regression tests nowadays. I doubt it's really gamin regression, something else changed. The mount point I'm seeing here is /media/UDISK_2_0, and lsof /media/UDISK_2_0 with nautilus window open over the images on the drive shows no open descriptors on it. I think I can say I can't reproduce it at this point. Need more informations ! Daniel Just tried with downgrading to gamin-0.0.26-1 on Rawhide and that made things work. So, this means the bug is indeed with gamin-0.1.0-1.1. Also, note the bug here is that /usr/libexec/gnome-vfs-daemon doesn't catch the change in /etc/mtab that occurs when gnome-volume-manager is invoking mount(1) (and mount(1) updates the /etc/mtab file). Of course, there is the possibility that this is a bug with gnome-vfs but since it works with gamin-0.0.26-1 (and fam before the gamin era) I doubt it. Please fix this soon, it's a very serious end-user bug. Thanks, David So is that reproduced on Rawhide or FC-4 ? I don't see how catching or not catching a change in /etc/mtab makes a file system not unmountable, at least from a gamin perspective. Can you explain *precisely* the sequence of event you did to reproduce the problem ? Could you also tell me the mount path used for the device and the lsof output for that device ? Daniel Sorry for hijacking this bug, my mistake, I've filed the issue detailed in comment 7 in bug 159748. Closing this bug as RAWHIDE since the issue in this report have been solved. |