Hi all,
I met a problem with the new dnsmasq configuration, in dhcp.conf the reslovfile path has changed to /tmp/resolv.conf.d/resolv.conf.auto but this file doesn't exist, which will cause dhcp problem.
Does anyone know why this path was changed?
Hi all,
I met a problem with the new dnsmasq configuration, in dhcp.conf the reslovfile path has changed to /tmp/resolv.conf.d/resolv.conf.auto but this file doesn't exist, which will cause dhcp problem.
Does anyone know why this path was changed?
Thank you!!
Be advised, using an older router config file with that newer dnsmasq seems to break it. I wasn't able to determine the exact issue before I had to recover; but I did see the errors in the log that you noted.
Issues seen when it occurred:
I have the backup file if anyone has clues and wants to check (I do have a backup device to load it; but that may take time - as that is standby for recovery ).
I was running a MAR 2020 Snapshot and attempted to upgrade, the firmware failed to boot, so I flashed 19.07.6.
I upgraded my dnsmasq before upgrading due to the CVEs; if that gives any hints.
The resolv directory in dnsmasq config was changed a year ago in January 2020 by dangowrt with commit cd48d8d342:
That broke also master configs in sysupgrade, so a migration was provided two days later by 6a2855212:
Those commits effectively block downgrading from master to 19.07 unless you adjust the dnsmasq config to the dnsmasq 19.07 expectations.
Ps.
I include a config migration script in my own 19.07 builds, so that 6a2855212 gets applied reverted when I move from master to 19.07.
This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.