REPRODUCIBILITY (% or how often): 100%
BUILD ID = OS VERSION (Settings > About product): 4.3.0.12
HARDWARE (XA2, X10, X10 II, …): Vollaphone, GS290
UI LANGUAGE: en
REGRESSION: (compared to previous public release: Yes, No, ?): YES
DESCRIPTION:
When adapting an application to use Sailjail, specifying (in this particular case Location and Internet) doesn’t appear to grant the app location (import QtPositioning 5.2) in QML.
PRECONDITIONS:
Modify app to use Sailjail.
STEPS TO REPRODUCE:
- Build https://github.com/poetaster/harbour-dwd/tree/main (on 4.3 phone) (or install from chum)
- Start from grid,
- accept privs,
- on first screen choose Pulldown GPS Locations
- Sigh
- Build https://github.com/poetaster/harbour-dwd/tree/3-4 (on 4.3 phone) (or use an old store install)
- Start app from grid
- on first screen choose Pulldown GPS Locations
- Choose something near to you. Sigh.
EXPECTED RESULT:
Location data. A fix. I just want a fix.
ACTUAL RESULT:
Seems to be blocked. File reading and writing to localstorage and internet are not a problem.
ADDITIONAL INFORMATION:
I’ve tried running trace but that’s not verbose enough:
[defaultuser@VollaPhone ~]$ /usr/bin/sailjail --trace /usr/share/applications/harbour-dwd.desktop /usr/bin/harbour-dwd
…/daemon/sailjailclient.c:455: client_set_trace_dir(): W: /usr/share/applications/harbour-dwd.desktop: is not already existing writable directory
constructing /run/firejail/mnt/privileged: …
mounting /run/firejail/mnt/privileged @ /home/defaultuser/.local/share/system/privileged
hiding /run/firejail/mnt/privileged …
But this is probably wrong?
I’ve also tested now, just removing the Jail settings from the desktop. Then GPS works.