GNOME Bugzilla – Bug 770793
tracker-miner-user-guides.service: Failed with result 'timeout'.
Last modified: 2017-08-16 13:36:41 UTC
I've been giving the new systemd user units provided by tracker a try. When trying to run the user-guides miner, I get $ systemctl start --user tracker-miner-user-guides.service $ journalctl -f Sep 03 14:43:13 pluto systemd[5940]: tracker-miner-user-guides.service: Start operation timed out. Terminating. Sep 03 14:43:13 pluto tracker-miner-user-guides[11557]: Received signal:15->'Beendet' Sep 03 14:43:13 pluto tracker-miner-user-guides[11557]: OK Sep 03 14:43:13 pluto systemd[5940]: Failed to start Tracker user guides data miner. Sep 03 14:43:13 pluto systemd[5940]: tracker-miner-user-guides.service: Unit entered failed state. Sep 03 14:43:13 pluto systemd[5940]: tracker-miner-user-guides.service: Failed with result 'timeout'. Sep 03 14:43:13 pluto systemd[5940]: tracker-miner-user-guides.service: Service hold-off time over, scheduling restart. Sep 03 14:43:13 pluto systemd[5940]: Stopped Tracker user guides data miner. Sep 03 14:43:13 pluto systemd[5940]: Starting Tracker user guides data miner... and so on and on. Running /usr/lib/tracker/tracker-miner-user-guides manually by hand works fine. I assume, the miner does not properly grab a name on the session bus and as the service uses Type=dbus, systemd fails to notice the service has successfully started. Running status after after a start gives: $ systemctl status --user tracker-miner-user-guides.service ● tracker-miner-user-guides.service - Tracker user guides data miner Loaded: loaded (/usr/lib/systemd/user/tracker-miner-user-guides.service; static; vendor preset: enabled) Active: activating (start) since Sa 2016-09-03 14:44:44 CEST; 59s ago Main PID: 11634 (tracker-miner-u) CGroup: /user.slice/user-1000.slice/user@1000.service/tracker-miner-user-guides.service └─11634 /usr/lib/tracker/tracker-miner-user-guides Sep 03 14:44:44 pluto systemd[5940]: Starting Tracker user guides data miner... Notice the state "activating (start)"
This is with version 1.9.1
The userguides miner is gone for 2.x. I'm attaching/pushing a fix for 1.12 though.
Created attachment 357727 [details] [review] user-guides: Fix typo in userguides miner DBus name The miner name is "Userguides", not "UserGuides". Fixes pointless spam from systemd because it tries to start a service that takes a different name in the end.
Attachment 357727 [details] pushed as 453da85 - user-guides: Fix typo in userguides miner DBus name
Created attachment 357731 [details] [review] user-guides: Fix systemd spam when trying to launch miner When trying to launch the user guides miner, systemd would expect the org.freedesktop.Tracker1.Miner.UserGuides to then be taken. But because that name isn't taken by the just launched miner, systemd would kill the "hung" service after a timeout, and try to start it again. systemd expects: org.freedesktop.Tracker1.Miner.UserGuides but the miner code owns: org.freedesktop.Tracker1.Miner.Userguides Change the "Guides" variant in the systemd service file as it is the only occurence of that variant.