Hi.
I have an ASUS RT-AC58U that was running OpenWrt 21.02.3 with multiple dnsmasq instances, as per the instructions here:
After upgrading to 22.03.0 I was having problems with name resolution.
Looking in the system log (logread), I noticed messages such as the following for each instance:
Tue Sep 6 17:02:14 2022 daemon.crit dnsmasq[1]: FAILED to start up
Tue Sep 6 17:02:19 2022 user.err : jail: creat(/tmp/ujail-HBGcbK/etc/dnsmasq.conf) failed: Read-only file system
Tue Sep 6 17:02:19 2022 user.err : jail: creat(/tmp/ujail-HBGcbK/etc/ethers) failed: Read-only file system
Tue Sep 6 17:02:19 2022 user.err : jail: creat(/tmp/ujail-HBGcbK/etc/group) failed: Read-only file system
Tue Sep 6 17:02:19 2022 user.err : jail: creat(/tmp/ujail-HBGcbK/etc/hosts) failed: Read-only file system
Tue Sep 6 17:02:19 2022 user.err : jail: creat(/tmp/ujail-HBGcbK/etc/passwd) failed: Read-only file system
Tue Sep 6 17:02:19 2022 daemon.crit dnsmasq[1]: directory /etc/resolv.conf.lan for resolv-file is missing, cannot poll
So I changed all the instances back to using the following default value:
option resolvfile '/tmp/resolv.conf.d/resolv.conf.auto'
and this appears to have resolved all the problems.
Not sure why the symbolic links no longer work, or if the action I've taken is recommended.
Does anyone know:
- Is this a bug?
- Does the documentation need updating?
- Have I taken the correct action or is there a preferred working configuration for 22.03.0 and multiple dnsmasq instances?