Le 10/09/18 à 11:30, martin f krafft a écrit :
After reporting to fail to connect to Avahi and ModemManager (which I don't
want anyway), geoclue-2.0 polls on FDs 3 & 7, but then there's a timeout, and
the tool exits, meaning it cannot be started properly anymore:

(geoclue:32487): Geoclue-WARNING **: 08:34:34.349: Failed to connect to 
ModemManager: Error calling StartServiceByName for 
org.freedesktop.ModemManager1: GDBus.Error:org.freedesktop.systemd1.NoSuchUnit: 
Unit dbus-org.freedesktop.ModemManager1.service not found.
) = 283
poll([{fd=3, events=POLLIN}, {fd=7, events=POLLIN}], 2, 0) = 0 (Timeout)
poll([{fd=3, events=POLLIN}, {fd=7, events=POLLIN}], 2, 5177) = 0 (Timeout)
write(3, "\1\0\0\0\0\0\0\0", 8)         = 8
[…]
exit_group(0)                           = ?
+++ exited with 0 +++

This behaviour persists through 2.4.12-2, but it is not present in 2.4.7-1.

I just tried here by masking the ModemManager service and I cannot reproduce this, geoclue is starting and I can get the location.

I see that the ModemManager package is installed on your machine, how did you disabled it? An idea what are fd 3 and 7?

Are you able to get a location, I'm asking because by default geoclue timeout after 5 seconds and exits.

Kind regards,

Laurent Bigonville

Reply via email to