REPRODUCIBILITY (% or how often): 100%
BUILD ID = OS VERSION (Settings > About product): 188.8.131.52
HARDWARE (XA2, X10, X10 II, …): XA2 Plus Dual SIM
UI LANGUAGE: en_GB
REGRESSION: (compared to previous public release: Yes, No, ?): No
As I am checking for an internet connection via contextProperty with the key Internet.NetworkState, I noticed it does not work anymore as soon as sailjail is active. No matter if I grant all permissions.
The journal log suggest it can no longer read the related contextkit file:
Nov 10 22:58:14 Sailfish harbour-welkweer: [W] unknown:-1 - file:///usr/share/contextkit/providers/Internet.qml: File not found Nov 10 22:58:14 Sailfish harbour-welkweer: [D] onStatusChanged:68 - Error: unable to load context object at file:///usr/share/contextkit/providers/Internet.qml for namespace 'Internet' from key 'Internet.NetworkState'
But the file is in place and readable for the user. As soon as I start without sailjail I get a proper “connected” answer as a result, as expected.
- activate sailjail via app desktop file or global (/etc/sailjail/config/50-enable-sandboxing.conf)
- start app
- grant sailjail access
Internet connection state can be retrieved
No internet connection state can be retrieved
(Please ALWAYS attach relevant data such as logs, screenshots, etc…)