REPRODUCIBILITY (% or how often): 100%
BUILD ID = OS VERSION (Settings > About product): 4.4.0.58
HARDWARE (XA2, X10, X10 II, …): Xperia X10
UI LANGUAGE: Polish
REGRESSION: (compared to previous public release: Yes, No, ?): Yes
DESCRIPTION:
Browser is unable to open any webpage. “Server not found”
There are some reports about this issue in the release topic:
PRECONDITIONS:
have 4.4.0.58 updated from 4.3 on Xperia 10
have network wifi or mobile data
STEPS TO REPRODUCE:
start browser from app drawer
EXPECTED RESULT:
works properly
ACTUAL RESULT:
no network connection
ADDITIONAL INFORMATION:
browser works fine if started from command line (ssh)
a workaround exists,
check if your system has dnsmask installed and if so remove it.
this can be done with:
pkcon remove dnsmasq
after that, browser will also work from the app drawer.
My cited problem above is not related to this bug. The browser works fine for me, it just doesn’t open the paged it is asked to when opening a link from anywhere unless the browser is already running.
I have this issue, my workaround is as follows.
got to settings → apps → browser
in there got to settings and set homepage to a webpage not startview.
what is actually happening is it’s loading the page but still bringing up the startview infront, making it appear as though the page hasn’t loaded.
After the update and reboot I opened all apps one by one and the apps asks for permissions at first launching time. I gave the permissions to all apps first to avoid access problems the apps may have with sailjail and system internal data communication.
The /etc/resolv.conf is defined as private-etc in the Internet.permission. This means that Firejail builds a temporary filesystem and copies files there. Further, this implies that changing resolv.conf after device boot (browser booster launch) won’t have effect unless you restart browser booster. Using this kind of a symlink trick you can move the actual content to a location which is whitelisted for the sandbox.
Both browser and email have specialized booster to speed up app launch times. You can restart them doing following:
/etc/resolv.conf is a symbolic link instead of a regular file. Firejail copies it into temporary filesystem but temporary filesystem does not contain /var/run/connman/resolv.conf that is target of the symbolic link. I got following results inside sailjail with sailfish-browser’s configuration
bash-5.0$ echo /etc/resolv.*
/etc/resolv.conf
bash-5.0$ echo "$(</etc/resolv.conf)"
bash: /etc/resolv.conf: Tiedostoa tai hakemistoa ei ole
bash-5.0$ echo /var/ru*
/var/ru*
All users are not affected by this issue because by default connman provides dnsproxy on localhost address. When /etc/resolv.conf is not available inside sailjail localhost seems to be used as nameserver. I had dnsmasq installed that caused connman to disable dnsproxy that made network unavailable inside sailjail (in combination with broken resolv.conf). After uninstalling dnsmasq and restarting connman network is working sailjail (no need to restart running sailjail applications). Another way to reproduce the issue is to add --nodnsproxy parameter to connman.service
Thank you very much, deinstalling dnsmasq and rebooting solved it for me. Browser works now even when started from app grid, as do other appd formerly not having internet access (sailfish forum viewer, sailhn, piperka, …)
Then enter ‘y’ when asked, enter your user password or use the fingerprint reader, and it’ll remove dnsmasq for you (as well as any packae that depends on it, but anything that does is third-party and removing those packages won’t harm your system.
@lolek I’m not sure to understand correctly. Did you deliberately install dnsmask?
In any case, your problem seems to be fixed. Can you mark your topic as solved and point to the solution?
Thank you in advance.