Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 86705 - gamin 0.0.26 doesn't work with inotify-0.21 backend
Summary: gamin 0.0.26 doesn't work with inotify-0.21 backend
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Martin Schlemmer (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-03-25 14:20 UTC by Todor Penev
Modified: 2005-05-23 08:27 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
corrects inotify problem, updates to latest gamin from gnome cvs (gamin-0.0.26-cvs_update.patch,33.45 KB, patch)
2005-03-25 14:20 UTC, Todor Penev
Details | Diff
new ebuild (gamin-0.0.26-r6.ebuild,1.25 KB, application/octet-stream)
2005-03-25 14:21 UTC, Todor Penev
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Todor Penev 2005-03-25 14:20:05 UTC
gamin fails to capture inotify events correctly when using a newer inotify kernel
patch in gnome-cvs does not fix the problem

Reproducible: Always
Steps to Reproduce:
1. start nautilus
2. use a term window to add/change a file
3. nautilus does not update



Expected Results:  
automatic refresh

Portage 2.0.51.19 (default-linux/amd64/2005.0, gcc-3.4.3-20050110,
glibc-2.3.4.20050125-r1, 2.6.11-morph4 x86_64)
=================================================================
System uname: 2.6.11-morph4 x86_64 AMD Athlon(tm) 64 Processor 3000+
Gentoo Base System version 1.6.10
Python:              dev-lang/python-2.4-r3,dev-lang/python-2.3.5 [2.4 (#1, Mar
24 2005, 20:43:22)]
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [enabled]
dev-lang/python:     2.4-r3, 2.3.5
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.7.9-r1, 1.8.5-r3, 1.6.3, 1.5, 1.9.5
sys-devel/binutils:  2.15.92.0.2-r7
sys-devel/libtool:   1.5.14
virtual/os-headers:  2.6.8.1-r4
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=athlon64 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=athlon64 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox"
GENTOO_MIRRORS="http://gentoo.chem.wisc.edu/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/port_ovr"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 X acpi alsa apache2 berkdb bitmap-fonts cdr crypt cups curl flac
font-server foomaticdb fortran gif gimpprint gnome gpm gstreamer gtk gtk2
gtkhtml hal howl imagemagick imlib ipv6 jp2 jpeg ldap lzw lzw-tiff mad mng mp3
mpeg ncurses nls nptl nptlonly offensive oggvorbis opengl oss pam perl png
python readline samba slang spell ssl svg tcpd threads tiff truetype
truetype-fonts type1-fonts unicode usb userlocales wmf xml xml2 xpm xrandr xv zlib"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS
Comment 1 Todor Penev 2005-03-25 14:20:56 UTC
Created attachment 54477 [details, diff]
corrects inotify problem, updates to latest gamin from gnome cvs
Comment 2 Todor Penev 2005-03-25 14:21:43 UTC
Created attachment 54478 [details]
new ebuild
Comment 3 gad.kadosh 2005-03-28 00:07:29 UTC
gamin-0.0.26-r5 ebuild in portage does not work with inotify-0.21, but the ebuild from this bug report does. I don't know if it should be added to portage since it's cvs, but -r5 doesn't serve anything so it can be removed.
What this ebuild does not fix is the bug of updating removable media presence in gnome:
http://bugs.gentoo.org/show_bug.cgi?id=74285
http://bugzilla.gnome.org/show_bug.cgi?id=171201
Comment 4 gad.kadosh 2005-03-29 08:52:44 UTC
Actually this doesn't work so well, after one time or something it stops showing changes in nautilus in realtime, and I have to kill the gam_server
Comment 5 Carsten Lohrke (RETIRED) gentoo-dev 2005-03-29 17:12:53 UTC
Please use "New -> Gentoo Linux -> Component: Ebuilds" in future. Infrastructure is not the correct addressee.
Comment 6 Daniel Drake (RETIRED) gentoo-dev 2005-04-02 14:50:56 UTC
Don't want to apply a big evil patch like this, so I fixed the patch included in 0.0.26-r5 and bumped it to 0.0.26-r6.
Comment 7 Martin Schlemmer (RETIRED) gentoo-dev 2005-04-02 15:25:38 UTC
Todor, where did you get the actual fixes that fixes it?  It still appears broken in their cvs .. ?
Comment 8 Martin Schlemmer (RETIRED) gentoo-dev 2005-04-02 15:28:19 UTC
Todor, basically making sure the patch is yours - want to get my facts straight for mailing upstream .... =)
Comment 9 gad.kadosh 2005-04-02 20:09:02 UTC
dsd: well done! so far it works perfectly. The nautilus/media problem is also fixed?

fuoco
Comment 10 Todor Penev 2005-04-03 01:15:45 UTC
yeah, the gnome cvs is still broken. i used the inotify-utils-0.21 source to figure out what the proper way of calling inotify is, so the patch that applies to gam_inotify.c has been slighly modified by me and is not the cvs version. the usb drive problem sounds like a HAL issue
Comment 11 Martin Schlemmer (RETIRED) gentoo-dev 2005-04-03 05:25:16 UTC
Well, the volume-manager thing seems like its a gamin/inotify issue (cant remember exact details).  Check bug #74285 for more on it.
Comment 12 Martin Schlemmer (RETIRED) gentoo-dev 2005-04-03 15:15:20 UTC
Ok, patch should be upstream in a bit, thanks.