• [gentoo-user] DNSmasq: to IPv6 or not to IPv6?

    From Peter Humphrey@21:1/5 to All on Wed Aug 17 14:40:01 2022
    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.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Peter Humphrey@21:1/5 to All on Wed Aug 17 15:00:01 2022
    On Wednesday, 17 August 2022 13:33:30 BST Peter Humphrey wrote:
    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.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From cal@21:1/5 to Peter Humphrey on Thu Aug 18 05:00:01 2022
    On 8/17/22 05:53, Peter Humphrey wrote:
    On Wednesday, 17 August 2022 13:33:30 BST Peter Humphrey wrote:
    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

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Peter Humphrey@21:1/5 to All on Thu Aug 18 11:00:01 2022
    On Thursday, 18 August 2022 03:58:43 BST cal wrote:
    On 8/17/22 05:53, Peter Humphrey wrote:
    On Wednesday, 17 August 2022 13:33:30 BST Peter Humphrey wrote:
    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=ee8750451b49d27b1
    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.

    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.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)