udhcpc fails to write /etc/resolv.conf on ISO fs
To replicate this, https://github.com/alpinelinux/aports/blob/master/scripts/genapkovl-dhcp.sh can be used with a profile to create a custom ISO (https://wiki.alpinelinux.org/wiki/How\_to\_make\_a\_custom\_ISO\_image\_with\_mkimage), though it is helpful to add the line “rc_add networking boot” to the genapkovl-dhcp.sh script, to ensure that the interface is configured upon startup. However, any networking start will spit the error “sh: write error: No space left on device” (I receive this error 3 times). I am not sure if this error only relates to the /etc/resolv.conf file (it should also relate to the leases filepath too). I understand it is possible to create a static /etc/resolv.conf file within the genapkovl-dhcp.sh script, though I was hoping to depend on dhcp for this dns lookup information.
(from redmine: issue id 7471, created on 2017-06-29, closed on 2017-07-04)