GNOME Bugzilla – Bug 715040
Avoid starting tracker-store twice
Last modified: 2013-11-29 04:40:57 UTC
We install both of: /etc/xdg/autostart/tracker-store.desktop /usr/share/dbus-1/services/org.freedesktop.Tracker1 If something else speaks to tracker via during login, what will happen is that dbus-daemon will spawn one, and gnome-session will also spawn one, and one of these will emit a critical message. To fix this, change the .desktop file merely use DBus (it'd be nice if there was an easier way to do this). Instead, maybe we could consider only dbus-activating tracker? In other words, if nothing wants to talk to us, maybe we shouldn't be starting by default...
Created attachment 261271 [details] [review] Avoid starting tracker-store twice
Comment on attachment 261271 [details] [review] Avoid starting tracker-store twice Shouldn't that be @bindir@/gdbus ... Actually, this patch makes a lot of sense AFAICT. I didn't realise it was being started twice. Usually the miner-fs instantiates the store via DBus here. I can't think of any cases this might break off the top of my head.
There's no point to using @bindir@ here as we may not technically be in the same prefix as GLib. There's really no way to win with that; basically you have to configure all of GNOME stuff to be in the same prefix. Attachment 261271 [details] pushed as 3ad3b79 - Avoid starting tracker-store twice
Sorry, I forgot to amend this patch before pushing, it's broken.
Created attachment 263035 [details] [review] tracker-store.desktop: Add missing flags argument Sorry, forgot to rebase this.
Attachment 263035 [details] pushed as 6eee8b9 - tracker-store.desktop: Add missing flags argument