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
Created attachment 54477 [details, diff] corrects inotify problem, updates to latest gamin from gnome cvs
Created attachment 54478 [details] new ebuild
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
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
Please use "New -> Gentoo Linux -> Component: Ebuilds" in future. Infrastructure is not the correct addressee.
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.
Todor, where did you get the actual fixes that fixes it? It still appears broken in their cvs .. ?
Todor, basically making sure the patch is yours - want to get my facts straight for mailing upstream .... =)
dsd: well done! so far it works perfectly. The nautilus/media problem is also fixed? fuoco
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
Well, the volume-manager thing seems like its a gamin/inotify issue (cant remember exact details). Check bug #74285 for more on it.
Ok, patch should be upstream in a bit, thanks.