dnsmasq error message related to host file
e9hack
e9hack at gmail.com
Mon Nov 1 04:00:20 PDT 2021
Hi,
after commit "dnsmasq: improve init script", I get the following error in the log file:
Sun Oct 31 14:08:11 2021 user.err : jail: creat(/tmp/ujail-pbMGCD/tmp/hosts/dhcp.main) failed: Read-only file system
Sun Oct 31 14:08:11 2021 user.err : jail: creat(/tmp/ujail-iEpgOj/tmp/hosts/dhcp.guest) failed: Read-only file system
I think, the modification is in conflict with this part:
config_get_bool ignore_hosts_dir "$cfg" ignore_hosts_dir 0
if [ "$ignore_hosts_dir" = "1" ]; then
xappend "--addn-hosts=$HOSTFILE"
append EXTRA_MOUNT "$HOSTFILE"
else
xappend "--addn-hosts=$(dirname $HOSTFILE)"
append EXTRA_MOUNT "$(dirname $HOSTFILE)"
fi
I did set ignore_hosts_dir for both instances.
Regards,
Hartmut
More information about the openwrt-devel
mailing list