It seems that you run the debug statement as root
. If I run it as nemo
I get this:
[nemo@xa2 ~]$ QT_LOGGING_RULES="*.debug=true" /usr/libexec/geoclue-yandex
[D] unknown:0 - positioning is enabled
[D] unknown:0 - device-local cell triangulation positioning is enabled
[D] unknown:0 - mls online service positioning is enabled
[D] unknown:0 - now checking MDM data source restrictions...
[D] unknown:0 - allowed to use online data to determine position
[D] unknown:0 - listening for cell data changes
[D] unknown:0 - allowed to use adjacent cell id data to determine position
[D] unknown:0 - allowed to use wlan data to determine position
[D] unknown:0 - positioning has been enabled
[D] unknown:0 - Yandex Location Services geoclue plugin active
[D] unknown:0 - have 14 neighbouring cells
[D] unknown:0 - have neighbour cell: "type: GSM, cellId: 6xxx, locationCode: 7xxx, mcc: 262, mnc: 2" with strength: 7
[D] unknown:0 - have neighbour cell: "type: GSM, cellId: 5xxx, locationCode: 7xxx, mcc: 262, mnc: 2" with strength: 8
[D] unknown:0 - have neighbour cell: "type: GSM, cellId: 19xxx, locationCode: 7xxx, mcc: 262, mnc: 2" with strength: 5
[D] unknown:0 - have neighbour cell: "type: GSM, cellId: 26xxx, locationCode: 7xxx, mcc: 262, mnc: 2" with strength: 5
[D] unknown:0 - have neighbour cell: "type: GSM, cellId: 60xxx, locationCode: 7xxx, mcc: 262, mnc: 2" with strength: 4
[D] unknown:0 - have neighbour cell: "type: GSM, cellId: 60xxx, locationCode: 7xxx, mcc: 262, mnc: 2" with strength: 4
[D] unknown:0 - have neighbour cell: "type: GSM, cellId: 5xxx, locationCode: 7xxx, mcc: 262, mnc: 2" with strength: 19
[D] unknown:0 - have neighbour cell: "type: GSM, cellId: 18xxx, locationCode: 17xxx, mcc: 262, mnc: 1" with strength: 14
[D] unknown:0 - have neighbour cell: "type: GSM, cellId: 56xxx, locationCode: 177xxx, mcc: 262, mnc: 1" with strength: 5
[D] unknown:0 - have neighbour cell: "type: GSM, cellId: 56xxx, locationCode: 17xxx, mcc: 262, mnc: 1" with strength: 4
[D] unknown:0 - have neighbour cell: "type: GSM, cellId: 18xxx, locationCode: 17xxx, mcc: 262, mnc: 1" with strength: 4
[D] unknown:0 - have neighbour cell: "type: GSM, cellId: 48xxx, locationCode: 17xxx, mcc: 262, mnc: 1" with strength: 9
[D] unknown:0 - have neighbour cell: "type: GSM, cellId: 18xxx, locationCode: 17xxx, mcc: 262, mnc: 1" with strength: 7
[D] unknown:0 - have neighbour cell: "type: GSM, cellId: 54xx, locationCode: 17xxx, mcc: 262, mnc: 1" with strength: 5
[D] unknown:0 - QConnmanEngine: ofono dbus service registered: "org.ofono"
[D] unknown:0 - QConnmanEngine: connman dbus service registered: "net.connman"
[D] unknown:0 - QConnmanEngine: setup connman configurations
[D] unknown:0 - QConnmanEngine: initialize
[D] unknown:0 - QConnmanEngine: setup connman configurations
[D] unknown:0 - MLS_FALLBACKS_LACF true MLS_FALLBACKS_IPF true
[D] unknown:0 - Less than 12 hour old key failure, refusing a new try
[D] unknown:0 - no geoclue-mlsdb data files contain the location of composed cell id: "type: GSM, cellId: 60xxx, locationCode: 7xxx, mcc: 262, mnc: 2"
[D] unknown:0 - no geoclue-mlsdb data files contain the location of composed cell id: "type: GSM, cellId: 5xxx, locationCode: 7xxx, mcc: 262, mnc: 2"
[D] unknown:0 - no geoclue-mlsdb data files contain the location of composed cell id: "type: GSM, cellId: 19xxx, locationCode: 7xxx, mcc: 262, mnc: 2"
[D] unknown:0 - no geoclue-mlsdb data files contain the location of composed cell id: "type: GSM, cellId: 26xxx, locationCode: 7xxx, mcc: 262, mnc: 2"
[D] unknown:0 - no geoclue-mlsdb data files contain the location of composed cell id: "type: GSM, cellId: 60xxx, locationCode: 7xxx, mcc: 262, mnc: 2"
[D] unknown:0 - no geoclue-mlsdb data files contain the location of composed cell id: "type: GSM, cellId: 60xxx, locationCode: 7xxx, mcc: 262, mnc: 2"
[D] unknown:0 - no geoclue-mlsdb data files contain the location of composed cell id: "type: GSM, cellId: 5xxx, locationCode: 7xxx, mcc: 262, mnc: 2"
[D] unknown:0 - no geoclue-mlsdb data files contain the location of composed cell id: "type: GSM, cellId: 18xxx, locationCode: 17xxx, mcc: 262, mnc: 1"
[D] unknown:0 - no geoclue-mlsdb data files contain the location of composed cell id: "type: GSM, cellId: 56xxx, locationCode: 17xxx, mcc: 262, mnc: 1"
[D] unknown:0 - no geoclue-mlsdb data files contain the location of composed cell id: "type: GSM, cellId: 56xxx, locationCode: 17xxx, mcc: 262, mnc: 1"
[D] unknown:0 - no geoclue-mlsdb data files contain the location of composed cell id: "type: GSM, cellId: 18xxx, locationCode: 17xxx, mcc: 262, mnc: 1"
[D] unknown:0 - no geoclue-mlsdb data files contain the location of composed cell id: "type: GSM, cellId: 48xxx, locationCode: 17xxx, mcc: 262, mnc: 1"
[D] unknown:0 - no geoclue-mlsdb data files contain the location of composed cell id: "type: GSM, cellId: 18xxx, locationCode: 17xxx, mcc: 262, mnc: 1"
[D] unknown:0 - no geoclue-mlsdb data files contain the location of composed cell id: "type: GSM, cellId: 54xxx, locationCode: 17xxx, mcc: 262, mnc: 1"
[D] unknown:0 - no cell id data to calculate position from
[D] unknown:0 - have been idle for too long, quitting
However the line [D] unknown:0 - Less than 12 hour old key failure, refusing a new try
seems to indicate that there’s something wrong with the key.
What puzzles me that the original link to get a key says location
and the one in this howto suggests prediction
, I wonder if the key requested via the English page is valid for this API.
On the other hand I wonder what part of the key we need to copy to /etc/yandex.key. It has the format pdct.1.1.<timestamp>.c4527a4a5960xxx.42a27a3c814c8f820ffafcbc354e23ef9d23bxxx
. I wouldn’t be surprised if we should remove the header part such as pdct.1.1.
and / or the timestamp.
As the API seems to refuse new key verifications within 12 hours of a failure is’s a bit of a pain to test it via trial and error.