FS#76332 - [dnsmasq] DNS servers lost on config reload

Attached to Project: Arch Linux
Opened by Max Harmathy (kastanienaxt) - Friday, 28 October 2022, 17:54 GMT
Last edited by Christian Hesse (eworm) - Sunday, 30 October 2022, 07:41 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Christian Hesse (eworm)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:

dnsmasq 2.87 introduced a bug, which causes dnsmasq to loose some DNS servers on config reload. There is a fix for this in upstream 'master', but there is no release yet.

The file dns-fix.patch is the source patch without the changelog.
And 0001-Fix-loss-of-DNS-servers-on-config-reload.patch is the patch for the packaging.
It would be nice to have the patch included in packaging of the current release.

Additional info:
* package version 2.87-1
* Discussion in the Forum: https://bbs.archlinux.org/viewtopic.php?pid=2064643
* Upstream Mailinglist Thread: https://www.mail-archive.com/dnsmasq-discuss%40lists.thekelleys.org.uk/msg16457.html
* Upstream Fix: https://thekelleys.org.uk/gitweb/?p=dnsmasq.git;a=commit;h=930428fb970f4991e5c2933fd5a5d2504c18a551

Steps to reproduce:

This is a fairly quick way to reproduce the issue:

* have dnsmasq handle dns in NetworkManager: /etc/NetworkManager/conf.d/dns-dnsmasq.conf

[main]
dns=dnsmasq

* and a file /etc/NetworkManager/conf.d/dnsmasq.d/opennic.conf

server=/dyn/195.10.195.195

* then restart NetworkManager
* ping reg.dyn
This task depends upon

Closed by  Christian Hesse (eworm)
Sunday, 30 October 2022, 07:41 GMT
Reason for closing:  Fixed
Additional comments about closing:  dnsmasq 2.87-2
Comment by René Herman (rene) - Friday, 28 October 2022, 20:02 GMT
Great digging; thanks.

Loading...