Since upgrade to r1. The error in the added patch, the version without the patch is fine. Backtrace: dnsmasq: started, version 2.76 cachesize 150 dnsmasq: compile time options: IPv6 GNU-getopt DBus i18n IDN DHCP DHCPv6 no-scripts no-TFTP no-conntrack ipset no-auth DNSSEC loop-detect inotify Program received signal SIGSEGV, Segmentation fault. 0x0000000000427f15 in check_servers () at network.c:1520 1520 serv->sfd->used = 1; (gdb) bt #0 0x0000000000427f15 in check_servers () at network.c:1520 #1 0x000000000042b752 in main (argc=4, argv=0x7fffffffe088) at dnsmasq.c:874 (gdb) serv->sfd is Null [ebuild R ] net-dns/dnsmasq-2.76::gentoo USE="dbus dhcp dnssec inotify ipv6 nls -auth-dns -conntrack -dhcp-tools -idn -lua -script (-selinux) -static -tftp" LINGUAS="-de -es -fi -fr -id -it -no -pl -pt_BR -ro" 0 KiB
+1 same problem here. Please revert. It affects all my gentoo machines with DNSMasq.
Created attachment 455758 [details, diff] Upstream fix
(In reply to Felix Janda from comment #2) > Created attachment 455758 [details, diff] [details, diff] > Upstream fix Thanks! Works for me, DNSMasq no longer crashes.
(In reply to Felix Janda from comment #2) > Created attachment 455758 [details, diff] [details, diff] > Upstream fix The patch works for me too, thanks.
+1 Just confirming
So... we got a update in portage to dnsmasq, that does crash on startup, it's been 2 days and still not fixed. Did anyone tested it above building the code?
I was about to file a bug that dnsmasq-2.76-r1 prevented app-emulation/lxd from assigning ipv4 and ipv6 addresses to containers. Downgrading to dnsmasq-2.76 works fine. Reading through this bug, it seems that dnsmasq-2.76-r1 is simply crashing, and lxd is not reporting that at the top level container info.
Adding to CC author of this happy change, as bug wranglers did not assigned this bug to anyone.
I reverted the change, bug #601920 can wait for upstream to make a new release
This was fixed since I reverted the change.