tracker-sandbox always sandboxes $HOME, breaks grilo-plugins CI
Running this command (the index directory is test directory in a checkout of grilo-plugins with exactly 5 files of different types):
$ /usr/lib64/tracker-3.0/trackertestutils/tracker-sandbox --index-recursive-directories /home/hadess/Projects/jhbuild/grilo-plugins/tests/tracker3/data/ --store-tmpdir -- watch -n1 tracker3 status
Throws a whole bunch of errors:
(tracker-miner-fs-3:826745): Tracker-WARNING **: 13:42:44.557: Unable to get XDG user directory path for special directory &DOCUMENTS. Ignoring this location.
(tracker-miner-fs-3:826745): Tracker-WARNING **: 13:42:44.558: Unable to get XDG user directory path for special directory &MUSIC. Ignoring this location.
(tracker-miner-fs-3:826745): Tracker-WARNING **: 13:42:44.558: Unable to get XDG user directory path for special directory &PICTURES. Ignoring this location.
(tracker-miner-fs-3:826745): Tracker-WARNING **: 13:42:44.558: Unable to get XDG user directory path for special directory &VIDEOS. Ignoring this location.
(tracker-miner-fs-3:826745): Tracker-WARNING **: 13:42:44.558: Unable to get XDG user directory path for special directory &DOWNLOAD. Ignoring this location.
(tracker-miner-fs-3:826745): Tracker-WARNING **: 13:42:44.558: Unable to get XDG user directory path for special directory &DOCUMENTS. Ignoring this location.
(tracker-miner-fs-3:826745): Tracker-WARNING **: 13:42:44.558: Unable to get XDG user directory path for special directory &MUSIC. Ignoring this location.
(tracker-miner-fs-3:826745): Tracker-WARNING **: 13:42:44.558: Unable to get XDG user directory path for special directory &PICTURES. Ignoring this location.
(tracker-miner-fs-3:826745): Tracker-WARNING **: 13:42:44.558: Unable to get XDG user directory path for special directory &VIDEOS. Ignoring this location.
And then indexes what looks like my home directory:
Currently indexed: 344 files, 17 folders
This breaks grilo-plugins' test suite as the tracker plugin indexes random files instead of the ones in the directory that was passed to it.
Using tracker-3.5.3-1.fc38.x86_64
on Fedora