netatalk
netatalk copied to clipboard
Netatalk should considering running tracker on system bus
Tracker can be made to run on the system bus by settings TRACKER_BUS_TYPE=system in the environment. There are a couple of hoops that need to be jumped through but it's not difficult to set up, for example you need to install a slightly modified copy of the .service files in the system-services directory and install a policy file to give root and other users permission to own and use the service.
You also need the patch I just sent upstream with fixes the autostart problems when using tracker on the system bus, but hopefully that will get accepted. After all that there's no need to mess about with starting another instance of dbus just for tracker/netatalk to communicate on. It also opens up the possibility of using the tracker API to start the daemon(s) instead of exec'ing the tracker command. Much cleaner :)
Very true. This is exactly what I've been doing in Samba as preferred method.
Btw, my preferred method of communicating is via mailing list. I'd like to avoid getting out of shell and emacs as much as possible. :) So if you haven't joined netatalk-devel list yet, I'd like to encourage you to so.
See https://sourceforge.net/p/netatalk/mailman/message/34354812/
Hm. How is this related to this discussion about the dbus bus type (system vs session)?
Some historical background (for Andy): at the time I implemented the Spotlight stuff in Netatalk, Tracker couldn't be made to use the system bus. Martyn from the Tracker team added this feature specifically for us after a lenghty discussion of our use case.
FYI the issue and patch I referenced in my original post: https://bugzilla.gnome.org/show_bug.cgi?id=765502
On Sun, Apr 24, 2016 at 09:09:46AM -0700, Andrew Stormont wrote:
FYI the issue and patch I referenced in my original post: https://bugzilla.gnome.org/show_bug.cgi?id=765502
awesome! Now I know why I couldn't get this to work. :) Great work, looking forward to see this integrated.
Cheerio! -slow
Note: you also need this fix to dconf to get gsettings to work properly on the system bus: https://bugzilla.gnome.org/show_bug.cgi?id=765539