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

_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to