[Tracker] possible bug? trackerd and device files



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?


Best regards, Marcus



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