Bug 2284621

Summary: Mozilla Location Service shutting down June 12
Product: [Fedora] Fedora Reporter: Teoh Han Hui <teohhanhui>
Component: geoclue2Assignee: Neal Gompa <ngompa13>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: 40CC: frapox, gnome-sig, heri, jan.public, jan.steffens, jjardon, kde-sig, kevin, klember, mihai, ngompa13, olivier.keun+bugzredhat, sbonazzo, suomalainen, zeenix
Target Milestone: ---Keywords: Patch
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: geoclue2-2.7.2-2.fc41 geoclue2-2.7.2-2.fc40 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2025-02-13 02:21:21 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Teoh Han Hui 2024-06-03 17:05:49 UTC
Fedora needs to make a decision, otherwise geolocation would remain broken.

The original announcement: https://github.com/mozilla/ichnaea/issues/2065

Related discussions:
* https://gitlab.gnome.org/GNOME/gnome-control-center/-/issues/2959
* https://mastodon.social/@nekohayo/112091520931028653

Arch Linux has chosen to use Google's Geolocation API by default:
* https://gitlab.archlinux.org/archlinux/packaging/packages/geoclue/-/issues/1
* https://gitlab.archlinux.org/archlinux/packaging/packages/geoclue/-/commit/561b66e7e965f5a2e9f5b0597367243d43bbfa0f

Reproducible: Always

Steps to Reproduce:
N/A

Comment 1 Teoh Han Hui 2024-06-03 17:21:58 UTC
Another discussion (in Japanese) at https://mls.js2hgw.com/wiki/?Mozilla+Location+Service+%E3%81%AE%E5%BE%8C%E7%B6%99%E3%82%B5%E3%83%BC%E3%83%93%E3%82%B9%E6%A4%9C%E8%A8%8E

It's from 楽天モバイル 電測 ("Rakuten Mobile Densoku"), which seems to be an unofficial project to map out Rakuten Mobile (a Japanese MNO) cell towers.

Comment 2 Sandro Bonazzola 2024-06-28 15:31:04 UTC
journal is being filled up with:
`geoclue[2128]: Failed to query location: Query location SOUP error: Not Found`
every 5 minutes.

Patch seems to be already merged upstream: https://gitlab.freedesktop.org/geoclue/geoclue/-/merge_requests/177

Comment 3 Olivier Keun 2024-08-12 09:32:45 UTC
(In reply to Sandro Bonazzola from comment #2)
> journal is being filled up with:
> `geoclue[2128]: Failed to query location: Query location SOUP error: Not
> Found`
> every 5 minutes.
> 
> Patch seems to be already merged upstream:
> https://gitlab.freedesktop.org/geoclue/geoclue/-/merge_requests/177

I just wanted to add that the upstream patch does not fix the underlying issue, it only removes the Mozilla geolocation lookups. So in practice this leaves the system in a state with no working geolocation. 

This is the current situation, geolocation is non-functional at the moment.

Comment 4 Jan Vlug 2025-01-05 08:44:08 UTC
Can Fedora switch to beaconDB? This should be done in coordination with the beaconDB maintainer.

See also: https://konstantintutsch.com/blog/beacondb-geolocation-on-linux-gnome/#the-fix%2C-at-least-with-gnome-via-geoclue
I tested this configuration change on Fedora Desktop and GNOME Maps can locate my laptop again.

See also: https://gitlab.freedesktop.org/geoclue/geoclue/-/issues/192#note_2702872

Comment 5 Jan Vlug 2025-02-07 15:46:23 UTC
I tested beaconDB on my Fedora laptop, and it works pretty well. I followed the instructions under "geoclue" on this page: https://beacondb.net/.

Comment 6 Fedora Update System 2025-02-12 12:41:17 UTC
FEDORA-2025-0e18ad9554 (geoclue2-2.7.2-1.fc40) has been submitted as an update to Fedora 40.
https://bodhi.fedoraproject.org/updates/FEDORA-2025-0e18ad9554

Comment 7 Fedora Update System 2025-02-12 12:41:18 UTC
FEDORA-2025-b3c7c84b89 (geoclue2-2.7.2-1.fc41) has been submitted as an update to Fedora 41.
https://bodhi.fedoraproject.org/updates/FEDORA-2025-b3c7c84b89

Comment 8 Fedora Update System 2025-02-13 02:21:21 UTC
FEDORA-2025-b3c7c84b89 (geoclue2-2.7.2-2.fc41) has been pushed to the Fedora 41 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 9 Fedora Update System 2025-02-13 02:53:04 UTC
FEDORA-2025-0e18ad9554 has been pushed to the Fedora 40 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2025-0e18ad9554`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2025-0e18ad9554

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 10 Fedora Update System 2025-02-15 02:23:06 UTC
FEDORA-2025-0e18ad9554 (geoclue2-2.7.2-2.fc40) has been pushed to the Fedora 40 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 11 Olivier Keun 2025-02-18 15:10:35 UTC
geoclue2-2.7.2-2.fc42

feb 18 08:43:30 fedora geoclue[2032]: Failed to query location: Socket I/O timed out
feb 18 10:06:45 fedora geoclue[2032]: Failed to query location: Socket I/O timed out
feb 18 11:12:32 fedora geoclue[2032]: Failed to query location: Peer failed to perform TLS handshake: The TLS connection was non-properly terminated.
feb 18 14:35:03 fedora geoclue[2032]: Failed to query location: Peer failed to perform TLS handshake: The TLS connection was non-properly terminated.
feb 18 14:57:18 fedora geoclue[2032]: Failed to query location: Socket I/O timed out
feb 18 15:50:24 fedora geoclue[2032]: Failed to query location: Peer failed to perform TLS handshake: The TLS connection was non-properly terminated.