Re: [Tracker] possible bug? trackerd and device files



Marcus Fritzsch wrote:
Hi there.

I am currently having chrooted installation inside a tracker-indexed
directory. The chroot does contain a /dev. The thing I am seeing, is
trackerd reading from ${chrootdir}/dev/zero like mad ;).

Possible fix to that might be in

    src/trackerd/tracker-utils.c:tracker_file_is_valid

on line 1054, and add

    G_FILE_TEST_IS_REGULAR|G_FILE_TEST_IS_DIR|G_FILE_TEST_IS_SYMLINK

to the g_file_test call. Well, that depends on whether directories are
passed to tracker_file_is_valid.

Can someone confirm this?


yes directories may be passed to it.

Does that fix work for you?


--
Mr Jamie McCracken
http://jamiemcc.livejournal.com/




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]