[Bug 1693819] Re: dhclient DHCPv6 does not work with interface alias

2019-04-04 Thread Dan Streetman
** Changed in: isc-dhcp (Ubuntu)
 Assignee: Dan Streetman (ddstreet) => (unassigned)

** Changed in: isc-dhcp (Ubuntu Zesty)
 Assignee: Dan Streetman (ddstreet) => (unassigned)

** Changed in: isc-dhcp (Ubuntu Artful)
   Status: In Progress => Confirmed

** Changed in: isc-dhcp (Ubuntu Artful)
 Assignee: Dan Streetman (ddstreet) => (unassigned)

** Changed in: isc-dhcp (Ubuntu Yakkety)
 Assignee: Dan Streetman (ddstreet) => (unassigned)

** Changed in: isc-dhcp (Ubuntu Xenial)
 Assignee: Dan Streetman (ddstreet) => (unassigned)

** Changed in: isc-dhcp (Ubuntu Trusty)
 Assignee: Dan Streetman (ddstreet) => (unassigned)

** Changed in: isc-dhcp (Ubuntu)
   Status: In Progress => Confirmed

** Changed in: isc-dhcp (Ubuntu)
   Status: Confirmed => Won't Fix

** Changed in: isc-dhcp (Ubuntu Trusty)
   Status: Confirmed => Won't Fix

** Changed in: isc-dhcp (Ubuntu Xenial)
   Status: Confirmed => Won't Fix

** Changed in: isc-dhcp (Ubuntu Yakkety)
   Status: Confirmed => Won't Fix

** Changed in: isc-dhcp (Ubuntu Zesty)
   Status: Confirmed => Won't Fix

** Changed in: isc-dhcp (Ubuntu Artful)
   Status: Confirmed => Won't Fix

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1693819

Title:
  dhclient DHCPv6 does not work with interface alias

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/isc-dhcp/+bug/1693819/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1693819] Re: dhclient DHCPv6 does not work with interface alias

2017-06-09 Thread Mathieu Trudel-Lapierre
** Tags removed: patch
** Tags added: patch-needswork

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1693819

Title:
  dhclient DHCPv6 does not work with interface alias

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/isc-dhcp/+bug/1693819/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1693819] Re: dhclient DHCPv6 does not work with interface alias

2017-06-09 Thread Dan Streetman
I should note:

1. The isc-dhcp code is common between dhcpd and dhclient
2. The current system interfaces are enumerated in common/discover.c, and that 
code - in next_iface() - strips the interface alias from all enumerated 
interfaces, so when dhcpd or dhclient is comparing a parameter against an 
existing interface, none of the existing enumerated interface names will have 
aliases
3. The interface parameters are parsed separately for dhcpd and dhclient; my 
patch changes *only* the parsing for dhclient, in client/dhclient.c, so that 
any command line interface names have their alias stripped
4. Other places that parse interface name parameters are dhcpd (in 
server/dhcpd.c), interface hotplug (maybe? in server/mdb.c, not sure about this 
file), and the dhcp relay (in relay/dhcrelay.c); my patch does *not* change any 
of these places, so interface name parameters to dhcpd, the dhcp relay, or in 
mdb.c, will still have interface aliases, and will not match any of the 
internally-enumerated (in common/discover.c) interface names.  However, my 
patch narrowly fixes this specific bug, of 'dhclient -6 eth0:1' not working.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1693819

Title:
  dhclient DHCPv6 does not work with interface alias

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/isc-dhcp/+bug/1693819/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1693819] Re: dhclient DHCPv6 does not work with interface alias

2017-06-09 Thread Brian Murray
** Tags added: rls-aa-notfixing

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1693819

Title:
  dhclient DHCPv6 does not work with interface alias

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/isc-dhcp/+bug/1693819/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1693819] Re: dhclient DHCPv6 does not work with interface alias

2017-06-07 Thread Dan Streetman
PPA updated with the current patches.
https://launchpad.net/~ddstreet/+archive/ubuntu/lp1693819

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1693819

Title:
  dhclient DHCPv6 does not work with interface alias

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/isc-dhcp/+bug/1693819/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1693819] Re: dhclient DHCPv6 does not work with interface alias

2017-06-07 Thread Dan Streetman
** Patch added: "lp1693819v2-artful.debdiff"
   
https://bugs.launchpad.net/ubuntu/+source/isc-dhcp/+bug/1693819/+attachment/4891685/+files/lp1693819v2-artful.debdiff

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1693819

Title:
  dhclient DHCPv6 does not work with interface alias

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/isc-dhcp/+bug/1693819/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1693819] Re: dhclient DHCPv6 does not work with interface alias

2017-06-07 Thread Dan Streetman
** Patch added: "lp1693819v2-zesty.debdiff"
   
https://bugs.launchpad.net/ubuntu/+source/isc-dhcp/+bug/1693819/+attachment/4891684/+files/lp1693819v2-zesty.debdiff

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1693819

Title:
  dhclient DHCPv6 does not work with interface alias

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/isc-dhcp/+bug/1693819/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1693819] Re: dhclient DHCPv6 does not work with interface alias

2017-06-07 Thread Dan Streetman
** Patch added: "lp1693819v2-yakkety.debdiff"
   
https://bugs.launchpad.net/ubuntu/+source/isc-dhcp/+bug/1693819/+attachment/4891683/+files/lp1693819v2-yakkety.debdiff

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1693819

Title:
  dhclient DHCPv6 does not work with interface alias

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/isc-dhcp/+bug/1693819/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1693819] Re: dhclient DHCPv6 does not work with interface alias

2017-06-07 Thread Dan Streetman
** Patch removed: "lp1693819-trusty.debdiff"
   
https://bugs.launchpad.net/ubuntu/+source/isc-dhcp/+bug/1693819/+attachment/4884172/+files/lp1693819-trusty.debdiff

** Patch removed: "lp1693819-xenial.debdiff"
   
https://bugs.launchpad.net/ubuntu/+source/isc-dhcp/+bug/1693819/+attachment/4884173/+files/lp1693819-xenial.debdiff

** Patch removed: "lp1693819-yakkety.debdiff"
   
https://bugs.launchpad.net/ubuntu/+source/isc-dhcp/+bug/1693819/+attachment/4884174/+files/lp1693819-yakkety.debdiff

** Patch removed: "lp1693819-zesty.debdiff"
   
https://bugs.launchpad.net/ubuntu/+source/isc-dhcp/+bug/1693819/+attachment/4884175/+files/lp1693819-zesty.debdiff

** Patch removed: "lp1693819-artful.debdiff"
   
https://bugs.launchpad.net/ubuntu/+source/isc-dhcp/+bug/1693819/+attachment/4884176/+files/lp1693819-artful.debdiff

** Patch added: "lp1693819v2-trusty.debdiff"
   
https://bugs.launchpad.net/ubuntu/+source/isc-dhcp/+bug/1693819/+attachment/4891681/+files/lp1693819v2-trusty.debdiff

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1693819

Title:
  dhclient DHCPv6 does not work with interface alias

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/isc-dhcp/+bug/1693819/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1693819] Re: dhclient DHCPv6 does not work with interface alias

2017-06-07 Thread Dan Streetman
Attached patches that rework the patch, instead of changing
common/discover.c to strip the interface alias during name comparison,
the new patch strips the interface alias in client/dhclient.c before
copying the argv parameter, so dhclient does not use the alias at all.
I tested in t/x/y/z/a and dhclient still worked with normal (non-
aliased) interface names, as well as working for dhcpv4 and dhcpv6 for
aliased interface names, both requesting and releasing.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1693819

Title:
  dhclient DHCPv6 does not work with interface alias

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/isc-dhcp/+bug/1693819/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1693819] Re: dhclient DHCPv6 does not work with interface alias

2017-06-07 Thread Dan Streetman
** Patch added: "lp1693819v2-xenial.debdiff"
   
https://bugs.launchpad.net/ubuntu/+source/isc-dhcp/+bug/1693819/+attachment/4891682/+files/lp1693819v2-xenial.debdiff

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1693819

Title:
  dhclient DHCPv6 does not work with interface alias

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/isc-dhcp/+bug/1693819/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1693819] Re: dhclient DHCPv6 does not work with interface alias

2017-06-07 Thread Dan Streetman
The attached debdiffs introduce a regression, please hold off applying
until I can investigate and update the patches.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1693819

Title:
  dhclient DHCPv6 does not work with interface alias

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/isc-dhcp/+bug/1693819/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1693819] Re: dhclient DHCPv6 does not work with interface alias

2017-06-06 Thread Eric Desrochers
** Changed in: isc-dhcp (Ubuntu Artful)
   Status: New => In Progress

** Changed in: isc-dhcp (Ubuntu Zesty)
   Status: New => Confirmed

** Changed in: isc-dhcp (Ubuntu Yakkety)
   Status: New => Confirmed

** Changed in: isc-dhcp (Ubuntu Xenial)
   Status: New => Confirmed

** Changed in: isc-dhcp (Ubuntu Trusty)
   Status: New => Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1693819

Title:
  dhclient DHCPv6 does not work with interface alias

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/isc-dhcp/+bug/1693819/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1693819] Re: dhclient DHCPv6 does not work with interface alias

2017-05-28 Thread Bug Watch Updater
** Changed in: isc-dhcp (Debian)
   Status: Unknown => New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1693819

Title:
  dhclient DHCPv6 does not work with interface alias

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/isc-dhcp/+bug/1693819/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1693819] Re: dhclient DHCPv6 does not work with interface alias

2017-05-26 Thread Ubuntu Foundations Team Bug Bot
The attachment "lp1693819-trusty.debdiff" seems to be a debdiff.  The
ubuntu-sponsors team has been subscribed to the bug report so that they
can review and hopefully sponsor the debdiff.  If the attachment isn't a
patch, please remove the "patch" flag from the attachment, remove the
"patch" tag, and if you are member of the ~ubuntu-sponsors, unsubscribe
the team.

[This is an automated message performed by a Launchpad user owned by
~brian-murray, for any issue please contact him.]

** Tags added: patch

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1693819

Title:
  dhclient DHCPv6 does not work with interface alias

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/isc-dhcp/+bug/1693819/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1693819] Re: dhclient DHCPv6 does not work with interface alias

2017-05-26 Thread Dan Streetman
This has been assigned upstream ISC bug: ISC-Bugs #45294

ISC's bug tracking is not public, so there is no way to track any
upstream progress in fixing this.

** Bug watch added: Debian Bug tracker #863426
   http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=863426

** Also affects: isc-dhcp (Debian) via
   http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=863426
   Importance: Unknown
   Status: Unknown

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1693819

Title:
  dhclient DHCPv6 does not work with interface alias

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/isc-dhcp/+bug/1693819/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1693819] Re: dhclient DHCPv6 does not work with interface alias

2017-05-26 Thread Dan Streetman
Test packages available in this PPA
https://launchpad.net/~ddstreet/+archive/ubuntu/lp1693819

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1693819

Title:
  dhclient DHCPv6 does not work with interface alias

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/isc-dhcp/+bug/1693819/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1693819] Re: dhclient DHCPv6 does not work with interface alias

2017-05-26 Thread Dan Streetman
This is specifically important for any configuration that wants to have
both a IPv4 address and DHCPv6 IPv6 address on a single interface, and
uses ifupdown for interface management, and wants independent control of
the 4 and 6 address.  Meaning, to be able to add or remove an
interface's IPv6 DHCPv6 address, while leaving the interface up and
still configured with its IPv4 address.  The ifupdown program does not
have any mechanism for controlling IPv4 and IPv6 addresses on a single
interface separately, so interface aliases are the most convenient way
to keep using ifupdown and be able to control the addresses separately.
An example ifupdown configuration might be:

auto eth0
iface eth0 inet manual
  pre-down ifdown eth0:1
  pre-down ifdown eth0:2

auto eth0:1
iface eth0:1 inet dhcp

auto eth0:2
iface eth0:2 inet6 dhcp


That configuration will start dhcp for both IPv4 and IPv6 addresses on eth0 at 
boot, and will allow running 'sudo ifdown eth0:1' to remove the IPv4 address 
only, while leaving the IPv6 address, or 'sudo ifdown eth0:2' to remove the 
IPv6 address only, while leaving the IPv4 address.  Or, 'sudo ifdown eth0' will 
remove both addresses and take down the physical interface.  Since this 
configuration uses an interface alias for DHCPv6, the current isc-dhcp-client 
fails, and requires the patch from the attached debdiffs to work.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1693819

Title:
  dhclient DHCPv6 does not work with interface alias

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/isc-dhcp/+bug/1693819/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1693819] Re: dhclient DHCPv6 does not work with interface alias

2017-05-26 Thread Dan Streetman
** Changed in: isc-dhcp (Ubuntu Zesty)
 Assignee: (unassigned) => Dan Streetman (ddstreet)

** Changed in: isc-dhcp (Ubuntu Yakkety)
 Assignee: (unassigned) => Dan Streetman (ddstreet)

** Changed in: isc-dhcp (Ubuntu Xenial)
 Assignee: (unassigned) => Dan Streetman (ddstreet)

** Changed in: isc-dhcp (Ubuntu Trusty)
 Assignee: (unassigned) => Dan Streetman (ddstreet)

** Changed in: isc-dhcp (Ubuntu Zesty)
   Importance: Undecided => Low

** Changed in: isc-dhcp (Ubuntu Yakkety)
   Importance: Undecided => Low

** Changed in: isc-dhcp (Ubuntu Xenial)
   Importance: Undecided => Low

** Changed in: isc-dhcp (Ubuntu Trusty)
   Importance: Undecided => Low

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1693819

Title:
  dhclient DHCPv6 does not work with interface alias

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/isc-dhcp/+bug/1693819/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1693819] Re: dhclient DHCPv6 does not work with interface alias

2017-05-26 Thread Dan Streetman
** Patch added: "lp1693819-artful.debdiff"
   
https://bugs.launchpad.net/ubuntu/+source/isc-dhcp/+bug/1693819/+attachment/4884176/+files/lp1693819-artful.debdiff

** Changed in: isc-dhcp (Ubuntu)
 Assignee: (unassigned) => Dan Streetman (ddstreet)

** Changed in: isc-dhcp (Ubuntu)
   Importance: Undecided => Low

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1693819

Title:
  dhclient DHCPv6 does not work with interface alias

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/isc-dhcp/+bug/1693819/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1693819] Re: dhclient DHCPv6 does not work with interface alias

2017-05-26 Thread Eric Desrochers
** Also affects: isc-dhcp (Ubuntu Artful)
   Importance: Low
 Assignee: Dan Streetman (ddstreet)
   Status: New

** Also affects: isc-dhcp (Ubuntu Trusty)
   Importance: Undecided
   Status: New

** Also affects: isc-dhcp (Ubuntu Xenial)
   Importance: Undecided
   Status: New

** Also affects: isc-dhcp (Ubuntu Yakkety)
   Importance: Undecided
   Status: New

** Also affects: isc-dhcp (Ubuntu Zesty)
   Importance: Undecided
   Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1693819

Title:
  dhclient DHCPv6 does not work with interface alias

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/isc-dhcp/+bug/1693819/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1693819] Re: dhclient DHCPv6 does not work with interface alias

2017-05-26 Thread Dan Streetman
** Patch added: "lp1693819-yakkety.debdiff"
   
https://bugs.launchpad.net/ubuntu/+source/isc-dhcp/+bug/1693819/+attachment/4884174/+files/lp1693819-yakkety.debdiff

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1693819

Title:
  dhclient DHCPv6 does not work with interface alias

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/isc-dhcp/+bug/1693819/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1693819] Re: dhclient DHCPv6 does not work with interface alias

2017-05-26 Thread Dan Streetman
** Patch added: "lp1693819-trusty.debdiff"
   
https://bugs.launchpad.net/ubuntu/+source/isc-dhcp/+bug/1693819/+attachment/4884172/+files/lp1693819-trusty.debdiff

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1693819

Title:
  dhclient DHCPv6 does not work with interface alias

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/isc-dhcp/+bug/1693819/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1693819] Re: dhclient DHCPv6 does not work with interface alias

2017-05-26 Thread Dan Streetman
** Patch added: "lp1693819-zesty.debdiff"
   
https://bugs.launchpad.net/ubuntu/+source/isc-dhcp/+bug/1693819/+attachment/4884175/+files/lp1693819-zesty.debdiff

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1693819

Title:
  dhclient DHCPv6 does not work with interface alias

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/isc-dhcp/+bug/1693819/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1693819] Re: dhclient DHCPv6 does not work with interface alias

2017-05-26 Thread Dan Streetman
** Patch added: "lp1693819-xenial.debdiff"
   
https://bugs.launchpad.net/ubuntu/+source/isc-dhcp/+bug/1693819/+attachment/4884173/+files/lp1693819-xenial.debdiff

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1693819

Title:
  dhclient DHCPv6 does not work with interface alias

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/isc-dhcp/+bug/1693819/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1693819] Re: dhclient DHCPv6 does not work with interface alias

2017-05-26 Thread Dan Streetman
This problem is because isc-dhcp strips the interface alias when it
enumerates the system interfaces, i.e. in common/discover.c function
next_iface():

/* interface aliases look like "eth0:1" or "wlan1:3" */ 

s = strchr(info->name, ':');

if (s != NULL) {

*s = '\0';  

}   


However when later searching the previously-enumerated list for the
matching interface for the cmdline interface parameter name, it does not
strip the interface alias from the cmdline interface name, i.e. in
common/discover.c function discover_interfaces():

/* Cycle through the list of interfaces looking for IP addresses. */

while (next_iface(, , )) {  



/* See if we've seen an interface that matches this one. */ 

for (tmp = interfaces; tmp; tmp = tmp->next) {  

if (!strcmp(tmp->name, info.name))  

break;  

}   



The 'info' interface will always have its info.name set to the actual interface 
name, without any alias extension, while the 'tmp' interface (from the cmdline) 
will have its tmp->name set to the interface including alias extension; the 
strcmp then never matches, so isc-dhcp is not able to correctly match the 
requested interface with the actual system interface.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1693819

Title:
  dhclient DHCPv6 does not work with interface alias

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/isc-dhcp/+bug/1693819/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs