Yes.
I changed the lxc mount a bit, but in the end it does not really matter, I guess.
Simply edit the file /var/lib/lxc/aliendalvik/extra_config as root and add following line:
lxc.mount.entry = /system/etc/hosts system/etc/hosts none bind,ro,create=file,optional 0 0
- I am using the Android /system/etc/hosts (which gets updated by Defender as well) for the lxc mount.
- Furthermore I added the option ‘ro’ so Android side cannot mess with SFOS file(s).
- And I put option ‘optional’ as when I tried to add also /system/etc/hosts.editable it caused aliendalvik to fail starting (ro file system, could not add that file, alien service failing). This is not needed for system/etc/hosts as this file is present. Just for the records.