[Tracker] TRACKER_BUS_TYPE=sytem vs tracker-control



Hello all!

I’m having some difficulties getting tracker-control from Tracker
1.2.5 to work with TRACKER_BUS_TYPE=system.

I’m using TRACKER_BUS_TYPE=system to run Tracker as a system service
under a dedicated user „tracker“ and patcheset for Samba that adds OS
X Spotlight support by using libtracker-sparql [1]. smbd is started
with TRACKER_BUS_TYPE set to system as well.

All this works well, ie I can run SPARQL queiries from smbd against
Tracker. It’s just that the DBUS IPC from tracker-control doesn’t work
in this setup.

I’m forcing TRACKER_BUS_TYPE=system into the env of dbus-daemon via
systemd:

 /etc/systemd/system.conf:DefaultEnvironment="TRACKER_BUS_TYPE=system"

The service files are where they should be:

$ cat /usr/share/dbus-1/system-services/org.freedesktop.Tracker1.Miner.Files.service
[D-BUS Service]
Name=org.freedesktop.Tracker1.Miner.Files
Exec=/usr/libexec/tracker-miner-fs
User=tracker
$

tracker-control -f seems to work:
$ tracker-control -f /my/data
...
(Re)indexing file was successful
$

Otoh tracker-control -s fails (after stopping Tracker with -k):
http://ur1.ca/mu8h5

I’m usually starting all daemons by hand with -v 3.

Thoughts?

Thanks!
-Ralph

[1] <https://wiki.samba.org/index.php/Spotlight>


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