After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 778691 - location services says it is in use even though it is disabled and nothing is using it.
location services says it is in use even though it is disabled and nothing is...
Status: RESOLVED FIXED
Product: gnome-settings-daemon
Classification: Core
Component: color
3.23.x
Other Linux
: Normal normal
: ---
Assigned To: Richard Hughes
gnome-settings-daemon-maint
Depends on:
Blocks:
 
 
Reported: 2017-02-15 16:05 UTC by Hussam Al-Tayeb
Modified: 2017-03-21 11:06 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
location services says it is in use. (41.58 KB, image/png)
2017-02-15 16:05 UTC, Hussam Al-Tayeb
Details
But is is actually disabled. (49.31 KB, image/png)
2017-02-15 16:05 UTC, Hussam Al-Tayeb
Details

Description Hussam Al-Tayeb 2017-02-15 16:05:09 UTC
Created attachment 345848 [details]
location services says it is in use.

location services says it is in use even though it is disabled and nothing is using it. Gnome-maps and gnome-weather are not running.
Notice the two screenshots.
Comment 1 Hussam Al-Tayeb 2017-02-15 16:05:44 UTC
Created attachment 345849 [details]
But is is actually disabled.
Comment 2 Zeeshan Ali 2017-02-15 16:31:18 UTC
Which GNOME version?
Comment 3 Hussam Al-Tayeb 2017-02-15 16:46:03 UTC
Sorry, I should have said 3.23.90 (git master branch).
Comment 4 Hussam Al-Tayeb 2017-02-15 22:03:57 UTC
For some reason, /usr/share/dbus-1/system-services/org.freedesktop.GeoClue2.service is starting unconditionally now.
Comment 5 Hussam Al-Tayeb 2017-02-16 07:41:54 UTC
I am guessing https://git.gnome.org/browse/gnome-settings-daemon/commit/?id=c09ee2a17cd0645438972635d2c1efd58e0387d6
but even when I have 'night light' off and restart gnome, geoclue is automatically started.
Comment 6 Bastien Nocera 2017-02-16 07:56:56 UTC
Date & Time automatic timezone?

Nevertheless, the toggle should disable those automatically, possibly with a warning if they are enabled.
Comment 7 Hussam Al-Tayeb 2017-02-16 08:10:16 UTC
'Automatic Date & Time' is on.
'Automatic Time zone' is off.
Comment 8 Hussam Al-Tayeb 2017-02-16 08:16:47 UTC
Automatic date and time is handled by systemd-timesyncd on my machine. This always worked.

I did git bisect and that checkin is where geoclue started getting automatically launched on logging in.
So I guess this is intentional. But it would be nice if turning "Location Services" off stopped geoclue.
At least now I know what changed.
Comment 9 Antoine Saroufim 2017-03-21 08:55:34 UTC
With gnome-shell frequently checking your location to give you a report of the weather, the location services are constantly in use. While that is not actually erroneous, it makes the location services indicator less useful. If it's always on, you can not tell when something else is using identifying your location without your attention.
Comment 10 Zeeshan Ali 2017-03-21 10:26:02 UTC
Is it possible that this is now solved with bug#100263 ?
Comment 11 Zeeshan Ali 2017-03-21 10:26:34 UTC
(In reply to Zeeshan Ali (Khattak) from comment #10)
> Is it possible that this is now solved with bug#100263 ?

Err.. different bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=100263
Comment 12 Hussam Al-Tayeb 2017-03-21 10:45:26 UTC
(In reply to Zeeshan Ali (Khattak) from comment #11)
> (In reply to Zeeshan Ali (Khattak) from comment #10)
> > Is it possible that this is now solved with bug#100263 ?
> 
> Err.. different bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=100263

I'm not seeing the location indicator icon now unless I have gnome-maps or gnome-weather open. So it appears it is indeed solved by that bug.
Comment 13 Zeeshan Ali 2017-03-21 11:06:15 UTC
(In reply to Hussam Al-Tayeb from comment #12)
> (In reply to Zeeshan Ali (Khattak) from comment #11)
> > (In reply to Zeeshan Ali (Khattak) from comment #10)
> > > Is it possible that this is now solved with bug#100263 ?
> > 
> > Err.. different bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=100263
> 
> I'm not seeing the location indicator icon now unless I have gnome-maps or
> gnome-weather open. So it appears it is indeed solved by that bug.

Unlikely that bug in question was the issue then since I double you have git master of geoclue on your system. :) But it's good that your issue is resolved anyway (somehow) and I'll roll out a geoclue release today to get the fix out.