← Back to team overview

touch-packages team mailing list archive

[Bug 1410637] [NEW] gai.conf changes seem to have no effect

 

Public bug reported:

Ubuntu documentation states, that changing /etc/gai.conf is the way to
be able to prefer IPv4 over IPv6.

So from the original gai.conf we removed the comment in front of the precedence statements AND set the value for ::ffff:0:0/96 to 60.
Unfortunately this does not seem to have an effect. E.g.: 'getent hosts heise.de' still returns '2a02:2e0:3fe:1001:302:: heise.de' instead of '193.99.144.80	heise.de', even if no interface has an IPv6 addr configured, all /proc/sys/net/ipv6/conf/*/disable_ipv6 have the value 1 and no ipv6 specific iptables/rules are in use. This is extremly odd and needs to be fixed.

/etc/nsswitch.conf uses 'hosts:          files dns'.

Linux tb 3.16.0-24-generic #32-Ubuntu SMP Tue Oct 28 13:07:32 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
cat /etc/os-release 
NAME="Ubuntu"
VERSION="14.10 (Utopic Unicorn)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 14.10"
VERSION_ID="14.10"
HOME_URL="http://www.ubuntu.com/";
SUPPORT_URL="http://help.ubuntu.com/";
BUG_REPORT_URL="http://bugs.launchpad.net/ubuntu/";

** Affects: eglibc (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to eglibc in Ubuntu.
https://bugs.launchpad.net/bugs/1410637

Title:
  gai.conf changes seem to have no effect

Status in eglibc package in Ubuntu:
  New

Bug description:
  Ubuntu documentation states, that changing /etc/gai.conf is the way to
  be able to prefer IPv4 over IPv6.

  So from the original gai.conf we removed the comment in front of the precedence statements AND set the value for ::ffff:0:0/96 to 60.
  Unfortunately this does not seem to have an effect. E.g.: 'getent hosts heise.de' still returns '2a02:2e0:3fe:1001:302:: heise.de' instead of '193.99.144.80	heise.de', even if no interface has an IPv6 addr configured, all /proc/sys/net/ipv6/conf/*/disable_ipv6 have the value 1 and no ipv6 specific iptables/rules are in use. This is extremly odd and needs to be fixed.

  /etc/nsswitch.conf uses 'hosts:          files dns'.

  Linux tb 3.16.0-24-generic #32-Ubuntu SMP Tue Oct 28 13:07:32 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
  cat /etc/os-release 
  NAME="Ubuntu"
  VERSION="14.10 (Utopic Unicorn)"
  ID=ubuntu
  ID_LIKE=debian
  PRETTY_NAME="Ubuntu 14.10"
  VERSION_ID="14.10"
  HOME_URL="http://www.ubuntu.com/";
  SUPPORT_URL="http://help.ubuntu.com/";
  BUG_REPORT_URL="http://bugs.launchpad.net/ubuntu/";

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/eglibc/+bug/1410637/+subscriptions


Follow ups

References