[Bug 1094345] Re: IPv6 DHCP record too late, and other irregularities, in resolvconf interface-order
The original problem was fixed in resolvconf 1.70 which has since been merged to Vivid. ** Changed in: resolvconf (Ubuntu) Status: Confirmed = Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1094345 Title: IPv6 DHCP record too late, and other irregularities, in resolvconf interface-order To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/resolvconf/+bug/1094345/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[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 Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1094345 Title: IPv6 DHCP record too late, and other irregularities, in resolvconf interface-order To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/resolvconf/+bug/1094345/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1094345] Re: IPv6 DHCP record too late, and other irregularities, in resolvconf interface-order
Done in recently released Debian resolvconf 1.70. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1094345 Title: IPv6 DHCP record too late, and other irregularities, in resolvconf interface-order To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/resolvconf/+bug/1094345/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1094345] Re: IPv6 DHCP record too late, and other irregularities, in resolvconf interface-order
@Kevin: On second thought I think your suggestion in comment #14 is right; I now propose to release Debian resolvconf 1.70 with the following. Comments still more than welcome, of course. # 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]))* 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* * -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1094345 Title: IPv6 DHCP record too late, and other irregularities, in resolvconf interface-order To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/resolvconf/+bug/1094345/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1094345] Re: IPv6 DHCP record too late, and other irregularities, in resolvconf interface-order
If there are no further comments then I'll prepare Debian resolvconf 1.70 according to the proposal from #11. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1094345 Title: IPv6 DHCP record too late, and other irregularities, in resolvconf interface-order To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/resolvconf/+bug/1094345/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1094345] Re: IPv6 DHCP record too late, and other irregularities, in resolvconf interface-order
In the case of static IPv4 but automatic IPv6, this will still result in the IPv4 taking precedence. [...] I propose that the order list all of the IPv6 items before the IPv4. Hmm, are there reasons for preferring either one over the other? This may be one of those changes where the problems will only become apparent after a release. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1094345 Title: IPv6 DHCP record too late, and other irregularities, in resolvconf interface-order To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/resolvconf/+bug/1094345/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1094345] Re: IPv6 DHCP record too late, and other irregularities, in resolvconf interface-order
My apologies for the delay in responding. Pesky life and all that. The proposed interface-order in #11 does work for my particular case. I do have some thoughts on the bigger picture though. eth*([^.]).inet6 eth*([^.]).inet eth*([^.]).ip6.@(dhclient|dhcpcd|pump|udhcpc) eth*([^.]).@(dhclient|dhcpcd|pump|udhcpc) In the case of static IPv4 but automatic IPv6, this will still result in the IPv4 taking precedence. eg: --- iface eth0 inet static ... dns-nameservers 1.2.3.4 iface eth0 inet6 auto dhcp 1 -- Would produce a resolv.conf with: -- nameserver 1.2.3.4 nameserver 2001:db8:1234::1 -- I propose that the order list all of the IPv6 items before the IPv4. eth*([^.]).inet6 eth*([^.]).ip6.@(dhclient|dhcpcd|pump|udhcpc) eth*([^.]).inet eth*([^.]).@(dhclient|dhcpcd|pump|udhcpc) Like you I'm on the fence about switching the static vs dynamic order. Some of our more learned colleagues may need to chime in here. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1094345 Title: IPv6 DHCP record too late, and other irregularities, in resolvconf interface-order To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/resolvconf/+bug/1094345/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1094345] Re: IPv6 DHCP record too late, and other irregularities, in resolvconf interface-order
** Summary changed: - IPv6 DHCP record is too late in resolvconf interface-order + IPv6 DHCP record too late, and other irregularities, in resolvconf interface-order -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1094345 Title: IPv6 DHCP record too late, and other irregularities, in resolvconf interface-order To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/resolvconf/+bug/1094345/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs