REPRODUCIBILITY (% or how often): 100
BUILD ID = OS VERSION (Settings > About product): 4.0.1.48
HARDWARE (XA2, Xperia 10…): X, all
UI LANGUAGE: English
REGRESSION: (compared to previous public release: Yes, No, ?): yes
DESCRIPTION:
sailjailed browser does not obey modified /etc/hosts file
all blocked entries are available in browser whereas ping is redirected to localhost as should
adding nsswitch.conf to private-etc configuration in /etc/sailjail/permissions/Internet.permission solves this
PRECONDITIONS:
updated to 4.0.1
STEPS TO REPRODUCE:
- modify /etc/hosts
- start sailjailed browser
- surf to blocked entry
EXPECTED RESULT:
browser is redirected to localhost and site not available
ACTUAL RESULT:
browser allows blocked sites
ADDITIONAL INFORMATION:
(Please ALWAYS attach relevant data such as logs, screenshots, etc…)
This is essential especially for harbour-defender and all self-modifiers.