Don't require agent for whitelisted applications
Currently, if you have an application configured with allowed=true
in geoclue.conf
, it will still fail to connect if there is no agent running for the corresponding UID.
As I understand it, the reason for disallowing connections without an agent running is to prevent the race condition where the client gets access when it would be forbidden by an agent that has not started yet. However, this does not apply to whitelisted applications, since the agent would just allow them anyway.
I think this would solve some of the issues that have come up since the agent became mandatory - people are often able to change the configuration file, when arranging for the agent to be run as well can be a pain.