← Back to team overview

touch-packages team mailing list archive

[Bug 1094345] Re: IPv6 DHCP record too late, and other irregularities, in resolvconf interface-order

 

I just discovered another gotcha. The new interface-order in #17 doesn't
handle bridge interfaces. I've added those above the eth* for the
following new file:

# interface-order(5)
lo.inet6
lo.inet
lo.@(dnsmasq|pdnsd)
lo.!(pdns|pdns-recursor)
lo
tun*
tap*
hso*
em+([0-9])?(_+([0-9]))*
p+([0-9])p+([0-9])?(_+([0-9]))*
br*([^.]).inet6
br*([^.]).ip6.@(dhclient|dhcpcd|pump|udhcpc)
br*([^.]).inet
br*([^.]).@(dhclient|dhcpcd|pump|udhcpc)
br*
eth*([^.]).inet6
eth*([^.]).ip6.@(dhclient|dhcpcd|pump|udhcpc)
eth*([^.]).inet
eth*([^.]).@(dhclient|dhcpcd|pump|udhcpc)
eth*
@(ath|wifi|wlan)*([^.]).inet6
@(ath|wifi|wlan)*([^.]).ip6.@(dhclient|dhcpcd|pump|udhcpc)
@(ath|wifi|wlan)*([^.]).inet
@(ath|wifi|wlan)*([^.]).@(dhclient|dhcpcd|pump|udhcpc)
@(ath|wifi|wlan)*
ppp*
*

It seems to work OK, but I haven't checked for any fun corner cases.

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

Title:
  IPv6 DHCP record too late, and other irregularities, in resolvconf
  interface-order

Status in resolvconf package in Ubuntu:
  Confirmed

Bug description:
  I am using /etc/network/interfaces rather than NetworkManager on this
  machine. resolvconf is always writing the IPv4 nameservers and search
  domains before the IPv6. I would like the IPv6 resolver information to
  be given priority or a method to select the behavior.

  kjotte@pegasus:~$ cat /etc/network/interfaces
  # This file describes the network interfaces available on your system
  # and how to activate them. For more information, see interfaces(5).

  # The loopback network interface
  auto lo
  iface lo inet loopback

  # The primary network interface
  auto eth0
  iface eth0 inet6 auto
      dhcp 1
  iface eth0 inet dhcp

  kjotte@pegasus:~$ cat /etc/resolv.conf 
  # Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
  #     DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
  nameserver 172.31.3.4
  nameserver 2001:470:8:64f::4
  search nivex.lan home.nivex.net

  ProblemType: Bug
  DistroRelease: Ubuntu 12.10
  Package: resolvconf 1.67ubuntu2
  ProcVersionSignature: Ubuntu 3.5.0-21.32-generic 3.5.7.1
  Uname: Linux 3.5.0-21-generic i686
  NonfreeKernelModules: nvidia
  ApportVersion: 2.6.1-0ubuntu6
  Architecture: i386
  Date: Fri Dec 28 15:33:41 2012
  MarkForUpload: True
  PackageArchitecture: all
  SourcePackage: resolvconf
  UpgradeStatus: Upgraded to quantal on 2012-05-10 (232 days ago)

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