Discussion:
[gentoo-user] DNSmasq: to IPv6 or not to IPv6?
(too old to reply)
Peter Humphrey
2022-08-17 12:40:01 UTC
Permalink
Hello list,

My LAN server runs net-dns/dnsmasq, which was updated today. When I
restarted it I got a log entry that said it had been compiled with IPv6 - but
the only reference to that under /etc/portage is USE=-dnsmasq in make.conf.

Anyone have an idea? Bugzilla is silent.

$ grep -ri ipv6 /etc/portage
/etc/portage/make.conf: -geoloc -geolocation -gnome -iodbc -ipv6 -kde -ldap -
lirc

$ emerge --info | grep ^USE | grep -i ipv6
$

$ emerge -pv dnsmasq
[...]
[ebuild R ] net-dns/dnsmasq-2.86-r1::gentoo USE="dbus dumpfile inotify
loop nls -auth-dns -conntrack -dhcp -dhcp-tools -dnssec -id -idn -ipv6 -
libidn2 -lua -nettlehash -script (-selinux) -static -tftp"
LUA_SINGLE_TARGET="lua5-1 -lua5-3 -lua5-4 -luajit" 519 KiB

From syslog-ng on VT12:
dnsmasq[12632]: compile time options: IPv6 GNU-getopt DBus no-UBus i18n no-
IDN no-DHCP no-scripts no-TFTP no-conntrack ipset no-auth no-cryptohash no-
DNSSEC no-ID loop-detect inotify dumpfile
--
Regards,
Peter.
Peter Humphrey
2022-08-17 13:00:01 UTC
Permalink
Post by Peter Humphrey
Hello list,
My LAN server runs net-dns/dnsmasq, which was updated today. When I
restarted it I got a log entry that said it had been compiled with IPv6 -
but the only reference to that under /etc/portage is USE=-dnsmasq in
make.conf.
Oops! That should have been USE=-ipv6, of course.
--
Regards,
Peter.
cal
2022-08-18 03:00:01 UTC
Permalink
Post by Peter Humphrey
Post by Peter Humphrey
Hello list,
My LAN server runs net-dns/dnsmasq, which was updated today. When I
restarted it I got a log entry that said it had been compiled with IPv6 -
but the only reference to that under /etc/portage is USE=-dnsmasq in
make.conf.
Oops! That should have been USE=-ipv6, of course.
It seems upstream removed the ability to disable IPv6 at compile time
several years back:
https://thekelleys.org.uk/gitweb/?p=dnsmasq.git;a=commit;h=ee8750451b49d27b180517a4e35b636be0fae575.
Ironic that the author included "I'm sure no-one wants or needs
IPv6-free code these days" in the commit message.

I suppose you could file a bug to remove the `ipv6` USE from the dnsmasq
ebuild since it no longer does anything.

cal
Peter Humphrey
2022-08-18 09:00:01 UTC
Permalink
Post by cal
Post by Peter Humphrey
Post by Peter Humphrey
Hello list,
My LAN server runs net-dns/dnsmasq, which was updated today. When I
restarted it I got a log entry that said it had been compiled with IPv6 -
but the only reference to that under /etc/portage is USE=-dnsmasq in
make.conf.
Oops! That should have been USE=-ipv6, of course.
It seems upstream removed the ability to disable IPv6 at compile time
https://thekelleys.org.uk/gitweb/?
p=dnsmasq.git;a=commit;h=ee8750451b49d27b1
Post by cal
80517a4e35b636be0fae575. Ironic that the author included "I'm sure no-one
wants or needs
IPv6-free code these days" in the commit message.
Interesting. I see that was nearly four years ago, and I've only just noticed.
Post by cal
I suppose you could file a bug to remove the `ipv6` USE from the dnsmasq
ebuild since it no longer does anything.
Perhaps. Thanks for finding this, Cal.
--
Regards,
Peter.
Loading...