Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 890485 - net-dns/dnsmasq-2.86-r2 segfaults when external interface goes down
Summary: net-dns/dnsmasq-2.86-r2 segfaults when external interface goes down
Status: RESOLVED DUPLICATE of bug 873700
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Patrick McLean
URL:
Whiteboard:
Keywords:
Depends on: 890575
Blocks:
  Show dependency tree
 
Reported: 2023-01-11 14:36 UTC by Vadim
Modified: 2023-01-12 07:12 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Vadim 2023-01-11 14:36:21 UTC
Config file: https://dpaste.com/6RX6QMY4V
emerge --info net-dns/dnsmasq: http://dpaste.com/EDRVYTXJC
(the emerge now tells about 2.87, same was for 2.86-r2)

When the internet-looking interface goes down, any attempt to pass DNS request through the dnsmasq (request comes from any of the local NATed nets, go to some public DNS servers) results in segfault.

dnsmasq compiled from here https://thekelleys.org.uk/dnsmasq/dnsmasq-2.86.tar.xz 
segfaults too.

Going to ~amd64 (2.87 as of now) or trying https://thekelleys.org.uk/dnsmasq/dnsmasq-2.87.tar.xz fixes the problem.
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-01-12 04:20:10 UTC
Thank you.

*** This bug has been marked as a duplicate of bug 873700 ***
Comment 2 Larry the Git Cow gentoo-dev 2023-01-12 04:22:07 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c2f760ca8d672081ad179e7aae150c57a9615b37

commit c2f760ca8d672081ad179e7aae150c57a9615b37
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2023-01-12 04:21:21 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-01-12 04:21:21 +0000

    net-dns/dnsmasq: add 2.88
    
    Bug: https://bugs.gentoo.org/890485
    Closes: https://bugs.gentoo.org/873700
    Signed-off-by: Sam James <sam@gentoo.org>

 net-dns/dnsmasq/Manifest            |   1 +
 net-dns/dnsmasq/dnsmasq-2.88.ebuild | 224 ++++++++++++++++++++++++++++++++++++
 2 files changed, 225 insertions(+)