Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 86705
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Martin Schlemmer (RETIRED) <azarah@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Todor Penev <tpenev@gmail.com>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
gamin-0.0.26-cvs_update.patch corrects inotify problem, updates to latest gamin from gnome cvs patch Todor Penev 2005-03-25 14:20 0000 33.45 KB Details | Diff
gamin-0.0.26-r6.ebuild new ebuild application/octet-stream Todor Penev 2005-03-25 14:21 0000 1.25 KB Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 86705 depends on: Show dependency tree
Bug 86705 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2005-03-25 14:20 0000
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 From Todor Penev 2005-03-25 14:20:56 0000 -------
Created an attachment (id=54477) [details]
corrects inotify problem, updates to latest gamin from gnome cvs

------- Comment #2 From Todor Penev 2005-03-25 14:21:43 0000 -------
Created an attachment (id=54478) [details]
new ebuild

------- Comment #3 From gad.kadosh@gmail.com 2005-03-28 00:07:29 0000 -------
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 From gad.kadosh@gmail.com 2005-03-29 08:52:44 0000 -------
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 From Carsten Lohrke 2005-03-29 17:12:53 0000 -------
Please use "New -> Gentoo Linux -> Component: Ebuilds" in future.
Infrastructure is not the correct addressee.

------- Comment #6 From Daniel Drake 2005-04-02 14:50:56 0000 -------
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 From Martin Schlemmer (RETIRED) 2005-04-02 15:25:38 0000 -------
Todor, where did you get the actual fixes that fixes it?  It still appears
broken in their cvs .. ?

------- Comment #8 From Martin Schlemmer (RETIRED) 2005-04-02 15:28:19 0000 -------
Todor, basically making sure the patch is yours - want to get my facts straight
for mailing upstream .... =)

------- Comment #9 From gad.kadosh@gmail.com 2005-04-02 20:09:02 0000 -------
dsd: well done! so far it works perfectly. The nautilus/media problem is also
fixed?

fuoco

------- Comment #10 From Todor Penev 2005-04-03 01:15:45 0000 -------
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 From Martin Schlemmer (RETIRED) 2005-04-03 05:25:16 0000 -------
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 From Martin Schlemmer (RETIRED) 2005-04-03 15:15:20 0000 -------
Ok, patch should be upstream in a bit, thanks.

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug