Privacy Issue #2580

Privacy Issue #2619: Refactor [nonprism]

Privacy Issue #2621: Remove packages patched against geoclue from [nonprism]

Privacy Issue #2620: Create a neutered geoclue

Test report of [nonprism-testing/geoclue]

theova - about 3 years ago - . Updated over 2 years ago.

% Done:



I've tested [nonprism-testing/geoclue] (locally built).
As of writing this, my system is up to date:

$ sudo pacman -Syu
warning: geoclue: local (2.5.5+6+gea52170-1.nonprism1) is newer than extra (2.5.5+6+gea52170-1)

For the first test, [nonprism] was enabled. However, [nonprism/your-privacy] was not installed.
The last test was by having [nonprism-testing/geoclue] installed and masked geoclue.service as proposed on StackExchange .

All tests were performed with an active internet connection and without Tor, VPN, ...

In short: [nonprism-testing/geoclue] does not prevent geolocalization. Masking geoclue.service is needed and seems to prevent geolocalization.

  • gnome-weather
    • [nonprism/gnome-weather]
      Does not start:
      $ gnome-weather
      § journalctl /usr/bin/gnome-weather
      -- Reboot --
      Dec 18 18:36:09 host org.gnome.Weath[4349]: JS WARNING: [resource:///org/gnome/Weather/Application/js/app/world.js 73]: reference to undefined property "autoLocation" 
      Dec 18 18:36:09 host org.gnome.Weath[4349]: JS ERROR: TypeError: CurrentLocationController.AutoLocation is undefined
    • [extra/gnome-wheather]
      was able to determine my location.
    • [extra/gnome-weather] with masked geoclue.service
      was not able to determine my location.
      $ gnome-weather
      Gjs-Message: 19:25:22.541: JS LOG: Failed to connect to GeoClue2 service: Error calling StartServiceByName for org.freedesktop.GeoClue2: Unit geoclue.service is masked.
  • empathy
    I've never used the application before.
    The output in the terminal was:
    $ empathy
    (empathy:6103): tp-glib-CRITICAL **: 18:40:22.723: tp_protocol_get_param: assertion 'TP_IS_PROTOCOL (self)' failed

    Furhtermore I was not able to add accounts and thus use the app in a meaningfull way. Please ask for screenshots if necessary.
  • gnome-maps
    • [nonprism/gnome-maps]
      The app runs fine and the button for "Go to current location" was greyed out.
    • [extra/gnome-maps]
      Detects localization after a short time.
    • [extra/gnome-maps] with masked geoclue.service
      Clicking on the localization button results in a message "Failed to connect to localization service" and my location seems not to be found.
  • gnome-settings-dameon
    I don't know how to test whether it has any clues about the location. However gnome-shell runs fine.
  • redshift
    • [nonprism/redshift]
      $ redshift
      Trying location provider `geoclue2'...
      Using provider `geoclue2'.
      Using method `randr'.
      Waiting for initial location to become available...

      The program does not seem to make any progress.
      Running with the hardcoded location
      $ redshift -l XX.XX:YY.YY

      is fine.
      All in all, redshift behaves as expected.
    • [extra/redshift]
      § redshift
      Trying location provider `geoclue2'...
      Using provider `geoclue2'.
      Using method `randr'.
      Waiting for initial location to become available...
      Location: XX.XX N, Y.YY E

      The returned location is in the city I am. geoclue must have returned the location.
    • [extra/redshift] with masked geoclue.service
      Same as in case [nonprism/geoclue].
  • webkit2gtk
    I don't know, how to test this.

Please let me know if you need any further information.


gnome-weather.png (15.8 KB) gnome-weather.png theova, 2019-12-20 11:26 AM
gnome-maps.png (232 KB) gnome-maps.png theova, 2019-12-20 11:26 AM

Related issues

Related to Packages - Bug #1884: nonprism and gnomeopen




Updated by theova about 3 years ago

I have to revert some of my test results. I think I had [extra/geoclue] installed when writing the previous post. Sorry for the confusion.

I have reevaluated the affected packages in [extra] ([nonprism] was NOT enabled):

sudo pacman -Syuu && sudo pacman -U geoclue-2.5.5+6+gea52170-1.nonprism1-x86_64.pkg.tar.xz && sudo pacman -S gnome-maps gnome-weather empathy gnome-settings-daemon redshift webkit2gtk

For the gnome apps I don't know how to enable more specific debug output. The options seem all about GUI stuff.

  • gnome-weather
    Location was not available and het to be set manually. See screenshot attached.
  • gnome-maps
    Location was not available (button was greyed out). See screenshot attached.
  • redshift
    Location is not found.
    redshift -r -m dummy
    Trying location provider `geoclue2'...
    Using provider `geoclue2'.
    WARNING: Using dummy gamma method! Display will not be affected by this gamma method.
    Waiting for initial location to become available...
    ^Cpoll: Interrupted system call
    Unable to get location from provider.

    Running with option -l is fine.
  • gnome-settings-daemon
    Again no idea how to test this. However gnome runs fine.

So my revised conclusion is that [nonprism-testing/geoclue] does a pretty good job.


Updated by bill-auger about 3 years ago

  • Parent task set to #1884
  • Assignee set to freemor

Updated by theova almost 3 years ago

  • Parent task changed from #1884 to #2620

Updated by bill-auger over 2 years ago

  • Related to Bug #1884: nonprism and gnome added

Updated by bill-auger over 2 years ago

i just noticed this package - it is in abslibre but not published for pacman

someone reported on IRC that gnome is impossible to install with 'your-privacy' - i suggested to try this PKGBUILD; but i noticed that the pkgname is 'geoclue' - that would prevent it from being installed with 'your-privacy'

just to make a note that if this package is working well, and it gets published, that 'geoclue' would need to be removed from the 'your-privacy' conflicts

Also available in: Atom PDF