Disable location services in gnome-control-center

Bug #2062178 reported by Jeremy Bícha
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Release Notes for Ubuntu
New
Undecided
Unassigned
gnome-control-center
New
Unknown
gnome-control-center (Debian)
New
Unknown
gnome-control-center (Ubuntu)
Triaged
Undecided
Unassigned

Bug Description

Impact
------
Mozilla Location Services will be closed to all third parties (including Ubuntu, GNOME, KDE, etc.) on June 12, 2024.

Unfortunately, there does not appear to be any suitable replacement for our typical desktop and laptop users. (Mobile devices like phones may have GPS that could be used but those devices would only rarely be using Ubuntu and gnome-control-center.)

To avoid later UI changes and disruption only a few months from now, the Ubuntu Desktop team would prefer to disable location services before Ubuntu 24.04 LTS is released.

Details
-------
Specifically, this hides
- Privacy & Security > Location
- Date & Time > Automatic Timezone
- Displays > Night Light > Schedule > Sunrise to Sunset
  + This last one wasn't done yet, but I expect it for gnome-control-center 46.1 which will be an SRU
https://gitlab.gnome.org/GNOME/gnome-control-center/-/issues/3014

Other Info
----------
https://gitlab.gnome.org/GNOME/gnome-control-center/-/issues/2959

gnome-control-center 46.1 to be released in a few days will also disable Location Services by default but with a build-time option for distros who have different deadlines and user profiles.

If an alternative location provider is found that works well enough for our users, we intend to re-enable this feature with a Stable Release Update if possible.

Because of this issue, Ubuntu has disabled the Location page in gnome-initial-setup for 24.04 LTS already.

Tags: noble
Jeremy Bícha (jbicha)
description: updated
Changed in gnome-control-center:
status: Unknown → New
Revision history for this message
Marco Trevisan (Treviño) (3v1n0) wrote :

> Unfortunately, there does not appear to be any suitable replacement for our typical desktop and laptop users.

When mozilla service is not used, GeoIP is used instead. It's not perfect (especially if using a VPN) but it's good enough to provide features such as automatic-timezone and night light.

Revision history for this message
Erich Eickmeyer (eeickmeyer) wrote :

I actually agree with Marco. If the fallback is GeoIP, maybe it's premature to patch this out. GeoIP is "good enough".

Revision history for this message
Scarlett Gately Moore (scarlettmoore) wrote :

Not sure how affected we are. Nightcolor uses geoclue which is disabled by default and I guess users will have to use the google option when the time comes ( not necessarily easy, but an option. ) We do not have location settings in systemsettings.

Revision history for this message
Erich Eickmeyer (eeickmeyer) wrote :

Scarlett,

Ubuntu Studio has `plasma-wallpaper-dynamic` which pulls-in `libqt5positioning5` which pulls in `geoclue-2.0` so Nightcolor detects positioning by default for us. Apparently, it says this:

"The device's location will be periodically updated using GPS (if available), or by sending network information to Mozilla Location Service."

So yes, you're tangentially affected, just not by default. However, geoclue does have a ton of ways to detect verses MLS, incuding Google, so that does appear to be an option.

Revision history for this message
Marco Trevisan (Treviño) (3v1n0) wrote :

> Nightcolor uses geoclue which is disabled by default and I guess users will have to use the google option when the time comes ( not necessarily easy, but an option. ) We do not have location settings in systemsettings.

Using google for example is an option but that requires admin access, while the g-c-c side controls whether applications have permit to access to geoclue

Revision history for this message
Erich Eickmeyer (eeickmeyer) wrote :

Marco,

Context: Scarlett is the lead for Kubuntu, so she's looking at it from a KDE Plasma perspective, which for her packaging purposes would need a dpkg-divert to switch the geoclue.conf to something else, but that's not exactly a problem for her as it's not a package they ship by default.

Jeremy Bícha (jbicha)
tags: added: block-proposed
Changed in gnome-control-center (Ubuntu):
status: In Progress → Fix Committed
Revision history for this message
Jeremy Bícha (jbicha) wrote :

My proposal here was only for showing location features in gnome-control-center.

I guess we'll need to SRU geoclue eventually but I don't think that's needed now.

Revision history for this message
Jeremy Bícha (jbicha) wrote :

Thank you for the feedback. The Ubuntu Desktop team is reverting this gnome-control-center behavior change and will keep location services enabled for now (even after 46.1). We'll see how things go later in the year.

Changed in gnome-control-center (Ubuntu):
status: Fix Committed → Triaged
Jeremy Bícha (jbicha)
tags: removed: block-proposed
Changed in gnome-control-center (Debian):
status: Unknown → New
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package gnome-control-center - 1:46.0.1-1ubuntu7

---------------
gnome-control-center (1:46.0.1-1ubuntu7) noble; urgency=medium

  * Re-enable Location Services for now after more conversation

 -- Jeremy Bícha <email address hidden> Thu, 18 Apr 2024 12:54:43 -0400

Changed in gnome-control-center (Ubuntu):
status: Triaged → Fix Released
Revision history for this message
Jeremy Bícha (jbicha) wrote :

I am reopening this bug since we don't know yet if we will disable location services later.

Changed in gnome-control-center (Ubuntu):
status: Fix Released → Triaged
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.