[Touch-packages] [Bug 1446767] Re: dhclient can fail if other nics are renamed
** Changed in: isc-dhcp (Fedora) Status: Unknown => Fix Released ** Changed in: isc-dhcp (Fedora) Importance: Unknown => Low -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to isc-dhcp in Ubuntu. https://bugs.launchpad.net/bugs/1446767 Title: dhclient can fail if other nics are renamed Status in isc-dhcp package in Ubuntu: Fix Released Status in isc-dhcp source package in Trusty: Fix Released Status in isc-dhcp source package in Vivid: Fix Released Status in isc-dhcp source package in Wily: Fix Released Status in isc-dhcp package in Fedora: Fix Released Bug description: === Begin SRU Information === [Impact] Systems that use dhcp for network config combined with network device re-naming can hit a race condition in dhclient which causes dhcp to fail. Any network device renaming could cause this, but the most likely scenario is boot with udev persistent naming in /etc/udev/rules.d/70-persistent-net.rules. This can be a fatal error when network devices that are required for proper function. [Test Case] To recreate the failure: * boot an ubuntu system with an interface that can dhcp * configure /etc/network/interfaces for dhcp on that interface $ grep eth0 /etc/network/interfaces auto eth0 iface eth0 inet dhcp * run attached 'nic-go-crazy' as root in one window/shell this will create by default 10 tuntap devices and repeatedly rename them. * run attached 'ifup-loop eth0' ifup-loop will exit failure if dhclient failed to bring the network up. With the fix provided, this will/should run indefinitely. [Regression Potential] Chance for regression here should be reasonably small. However, a very significant number of systems run dhclient, so any change has to be considered risky. One thing to note, is that Fedora has carried this patch for > 3 years. Per getifaddrs(3): | The getifaddrs() function first appeared in glibc 2.3, but before glibc | 2.3.3, the implementation supported only IPv4 addresses; IPv6 support | was added in glibc 2.3.3. Support of address families other than IPv4 | is available only on kernels that support netlink. These versions are older than any supported Ubuntu release, so that should not be a problem. === End SRU Information === given 3 nics eth0, eth1, eth2 dhclient -1 -v -pf /run/dhclient.eth0.pid -lf /var/lib/dhcp/dhclient.eth0.leases eth0 while that in its early phases, if eth1 is renamed a race condition can cause dhclient to exit failure. This can happen in real life when udev and persistent rules are used. Ie, in a system where eth0 is configured for 'auto' and dhcp and persistent rules cause renaming of devices during boot. I have set up recreate of that more complex system lp:~smoser/+junk/lp128 , but this recreate is simpler to catch. example, while running attached 'nic-go-crazy' on other nics, I try ifup eth1 $ sudo ifup eth1 sudo: unable to resolve host ubuntu Internet Systems Consortium DHCP Client 4.3.1 Copyright 2004-2014 Internet Systems Consortium. All rights reserved. For info, please visit https://www.isc.org/software/dhcp/ Error getting interface address for 'nic0317610'; No such device Error getting interface information. If you think you have received this message due to a bug rather than a configuration issue please read the section on submitting bugs on either our web page at www.isc.org or in the README file before submitting a bug. These pages explain the proper process and the information we find helpful for debugging.. exiting. Failed to bring up eth1. ProblemType: Bug DistroRelease: Ubuntu 15.04 Package: isc-dhcp-client 4.3.1-5ubuntu2 ProcVersionSignature: User Name 3.19.0-15.15-generic 3.19.3 Uname: Linux 3.19.0-15-generic x86_64 ApportVersion: 2.17.2-0ubuntu1 Architecture: amd64 Date: Tue Apr 21 16:35:10 2015 DhclientLeases: ProcEnviron: TERM=screen PATH=(custom, no user) XDG_RUNTIME_DIR= LANG=en_US.UTF-8 SHELL=/bin/bash SourcePackage: isc-dhcp UpgradeStatus: No upgrade log present (probably fresh install) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/isc-dhcp/+bug/1446767/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1446767] Re: dhclient can fail if other nics are renamed
There is a bad memory leak when many (thousands in our case) interfaces are up and dhcpd is started. In addition it is very slow. For the former, a call to freeifaddrs(ifaddr) is needed before the next interface is looked at, and we got around the latter by only calling getifaddrs() once, but that might regress what this fixed. -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to isc-dhcp in Ubuntu. https://bugs.launchpad.net/bugs/1446767 Title: dhclient can fail if other nics are renamed Status in isc-dhcp package in Ubuntu: Fix Released Status in isc-dhcp source package in Trusty: Fix Released Status in isc-dhcp source package in Vivid: Fix Released Status in isc-dhcp source package in Wily: Fix Released Status in isc-dhcp package in Fedora: Unknown Bug description: === Begin SRU Information === [Impact] Systems that use dhcp for network config combined with network device re-naming can hit a race condition in dhclient which causes dhcp to fail. Any network device renaming could cause this, but the most likely scenario is boot with udev persistent naming in /etc/udev/rules.d/70-persistent-net.rules. This can be a fatal error when network devices that are required for proper function. [Test Case] To recreate the failure: * boot an ubuntu system with an interface that can dhcp * configure /etc/network/interfaces for dhcp on that interface $ grep eth0 /etc/network/interfaces auto eth0 iface eth0 inet dhcp * run attached 'nic-go-crazy' as root in one window/shell this will create by default 10 tuntap devices and repeatedly rename them. * run attached 'ifup-loop eth0' ifup-loop will exit failure if dhclient failed to bring the network up. With the fix provided, this will/should run indefinitely. [Regression Potential] Chance for regression here should be reasonably small. However, a very significant number of systems run dhclient, so any change has to be considered risky. One thing to note, is that Fedora has carried this patch for > 3 years. Per getifaddrs(3): | The getifaddrs() function first appeared in glibc 2.3, but before glibc | 2.3.3, the implementation supported only IPv4 addresses; IPv6 support | was added in glibc 2.3.3. Support of address families other than IPv4 | is available only on kernels that support netlink. These versions are older than any supported Ubuntu release, so that should not be a problem. === End SRU Information === given 3 nics eth0, eth1, eth2 dhclient -1 -v -pf /run/dhclient.eth0.pid -lf /var/lib/dhcp/dhclient.eth0.leases eth0 while that in its early phases, if eth1 is renamed a race condition can cause dhclient to exit failure. This can happen in real life when udev and persistent rules are used. Ie, in a system where eth0 is configured for 'auto' and dhcp and persistent rules cause renaming of devices during boot. I have set up recreate of that more complex system lp:~smoser/+junk/lp128 , but this recreate is simpler to catch. example, while running attached 'nic-go-crazy' on other nics, I try ifup eth1 $ sudo ifup eth1 sudo: unable to resolve host ubuntu Internet Systems Consortium DHCP Client 4.3.1 Copyright 2004-2014 Internet Systems Consortium. All rights reserved. For info, please visit https://www.isc.org/software/dhcp/ Error getting interface address for 'nic0317610'; No such device Error getting interface information. If you think you have received this message due to a bug rather than a configuration issue please read the section on submitting bugs on either our web page at www.isc.org or in the README file before submitting a bug. These pages explain the proper process and the information we find helpful for debugging.. exiting. Failed to bring up eth1. ProblemType: Bug DistroRelease: Ubuntu 15.04 Package: isc-dhcp-client 4.3.1-5ubuntu2 ProcVersionSignature: User Name 3.19.0-15.15-generic 3.19.3 Uname: Linux 3.19.0-15-generic x86_64 ApportVersion: 2.17.2-0ubuntu1 Architecture: amd64 Date: Tue Apr 21 16:35:10 2015 DhclientLeases: ProcEnviron: TERM=screen PATH=(custom, no user) XDG_RUNTIME_DIR= LANG=en_US.UTF-8 SHELL=/bin/bash SourcePackage: isc-dhcp UpgradeStatus: No upgrade log present (probably fresh install) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/isc-dhcp/+bug/1446767/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1446767] Re: dhclient can fail if other nics are renamed
This bug was fixed in the package isc-dhcp - 4.2.4-7ubuntu12.2 --- isc-dhcp (4.2.4-7ubuntu12.2) trusty-proposed; urgency=medium * debian/patches/dhcp-getifaddrs.patch: use getifaddrs for getting nic addresses rather than /proc/net (LP: #1446767) -- Scott Moser smo...@ubuntu.com Tue, 21 Apr 2015 18:10:40 + ** Changed in: isc-dhcp (Ubuntu Trusty) Status: Fix Committed = Fix Released -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to isc-dhcp in Ubuntu. https://bugs.launchpad.net/bugs/1446767 Title: dhclient can fail if other nics are renamed Status in isc-dhcp package in Ubuntu: Fix Released Status in isc-dhcp source package in Trusty: Fix Released Status in isc-dhcp source package in Vivid: Fix Released Status in isc-dhcp source package in Wily: Fix Released Status in isc-dhcp package in Fedora: Unknown Bug description: === Begin SRU Information === [Impact] Systems that use dhcp for network config combined with network device re-naming can hit a race condition in dhclient which causes dhcp to fail. Any network device renaming could cause this, but the most likely scenario is boot with udev persistent naming in /etc/udev/rules.d/70-persistent-net.rules. This can be a fatal error when network devices that are required for proper function. [Test Case] To recreate the failure: * boot an ubuntu system with an interface that can dhcp * configure /etc/network/interfaces for dhcp on that interface $ grep eth0 /etc/network/interfaces auto eth0 iface eth0 inet dhcp * run attached 'nic-go-crazy' as root in one window/shell this will create by default 10 tuntap devices and repeatedly rename them. * run attached 'ifup-loop eth0' ifup-loop will exit failure if dhclient failed to bring the network up. With the fix provided, this will/should run indefinitely. [Regression Potential] Chance for regression here should be reasonably small. However, a very significant number of systems run dhclient, so any change has to be considered risky. One thing to note, is that Fedora has carried this patch for 3 years. Per getifaddrs(3): | The getifaddrs() function first appeared in glibc 2.3, but before glibc | 2.3.3, the implementation supported only IPv4 addresses; IPv6 support | was added in glibc 2.3.3. Support of address families other than IPv4 | is available only on kernels that support netlink. These versions are older than any supported Ubuntu release, so that should not be a problem. === End SRU Information === given 3 nics eth0, eth1, eth2 dhclient -1 -v -pf /run/dhclient.eth0.pid -lf /var/lib/dhcp/dhclient.eth0.leases eth0 while that in its early phases, if eth1 is renamed a race condition can cause dhclient to exit failure. This can happen in real life when udev and persistent rules are used. Ie, in a system where eth0 is configured for 'auto' and dhcp and persistent rules cause renaming of devices during boot. I have set up recreate of that more complex system lp:~smoser/+junk/lp128 , but this recreate is simpler to catch. example, while running attached 'nic-go-crazy' on other nics, I try ifup eth1 $ sudo ifup eth1 sudo: unable to resolve host ubuntu Internet Systems Consortium DHCP Client 4.3.1 Copyright 2004-2014 Internet Systems Consortium. All rights reserved. For info, please visit https://www.isc.org/software/dhcp/ Error getting interface address for 'nic0317610'; No such device Error getting interface information. If you think you have received this message due to a bug rather than a configuration issue please read the section on submitting bugs on either our web page at www.isc.org or in the README file before submitting a bug. These pages explain the proper process and the information we find helpful for debugging.. exiting. Failed to bring up eth1. ProblemType: Bug DistroRelease: Ubuntu 15.04 Package: isc-dhcp-client 4.3.1-5ubuntu2 ProcVersionSignature: User Name 3.19.0-15.15-generic 3.19.3 Uname: Linux 3.19.0-15-generic x86_64 ApportVersion: 2.17.2-0ubuntu1 Architecture: amd64 Date: Tue Apr 21 16:35:10 2015 DhclientLeases: ProcEnviron: TERM=screen PATH=(custom, no user) XDG_RUNTIME_DIR=set LANG=en_US.UTF-8 SHELL=/bin/bash SourcePackage: isc-dhcp UpgradeStatus: No upgrade log present (probably fresh install) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/isc-dhcp/+bug/1446767/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1446767] Re: dhclient can fail if other nics are renamed
Yes, sorry for delay. We have been running repeated deployments with Trusty and this package and are no longer hitting the problems anymore. -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to isc-dhcp in Ubuntu. https://bugs.launchpad.net/bugs/1446767 Title: dhclient can fail if other nics are renamed Status in isc-dhcp package in Ubuntu: Fix Released Status in isc-dhcp source package in Trusty: Fix Committed Status in isc-dhcp source package in Vivid: Fix Released Status in isc-dhcp source package in Wily: Fix Released Status in isc-dhcp package in Fedora: Unknown Bug description: === Begin SRU Information === [Impact] Systems that use dhcp for network config combined with network device re-naming can hit a race condition in dhclient which causes dhcp to fail. Any network device renaming could cause this, but the most likely scenario is boot with udev persistent naming in /etc/udev/rules.d/70-persistent-net.rules. This can be a fatal error when network devices that are required for proper function. [Test Case] To recreate the failure: * boot an ubuntu system with an interface that can dhcp * configure /etc/network/interfaces for dhcp on that interface $ grep eth0 /etc/network/interfaces auto eth0 iface eth0 inet dhcp * run attached 'nic-go-crazy' as root in one window/shell this will create by default 10 tuntap devices and repeatedly rename them. * run attached 'ifup-loop eth0' ifup-loop will exit failure if dhclient failed to bring the network up. With the fix provided, this will/should run indefinitely. [Regression Potential] Chance for regression here should be reasonably small. However, a very significant number of systems run dhclient, so any change has to be considered risky. One thing to note, is that Fedora has carried this patch for 3 years. Per getifaddrs(3): | The getifaddrs() function first appeared in glibc 2.3, but before glibc | 2.3.3, the implementation supported only IPv4 addresses; IPv6 support | was added in glibc 2.3.3. Support of address families other than IPv4 | is available only on kernels that support netlink. These versions are older than any supported Ubuntu release, so that should not be a problem. === End SRU Information === given 3 nics eth0, eth1, eth2 dhclient -1 -v -pf /run/dhclient.eth0.pid -lf /var/lib/dhcp/dhclient.eth0.leases eth0 while that in its early phases, if eth1 is renamed a race condition can cause dhclient to exit failure. This can happen in real life when udev and persistent rules are used. Ie, in a system where eth0 is configured for 'auto' and dhcp and persistent rules cause renaming of devices during boot. I have set up recreate of that more complex system lp:~smoser/+junk/lp128 , but this recreate is simpler to catch. example, while running attached 'nic-go-crazy' on other nics, I try ifup eth1 $ sudo ifup eth1 sudo: unable to resolve host ubuntu Internet Systems Consortium DHCP Client 4.3.1 Copyright 2004-2014 Internet Systems Consortium. All rights reserved. For info, please visit https://www.isc.org/software/dhcp/ Error getting interface address for 'nic0317610'; No such device Error getting interface information. If you think you have received this message due to a bug rather than a configuration issue please read the section on submitting bugs on either our web page at www.isc.org or in the README file before submitting a bug. These pages explain the proper process and the information we find helpful for debugging.. exiting. Failed to bring up eth1. ProblemType: Bug DistroRelease: Ubuntu 15.04 Package: isc-dhcp-client 4.3.1-5ubuntu2 ProcVersionSignature: User Name 3.19.0-15.15-generic 3.19.3 Uname: Linux 3.19.0-15-generic x86_64 ApportVersion: 2.17.2-0ubuntu1 Architecture: amd64 Date: Tue Apr 21 16:35:10 2015 DhclientLeases: ProcEnviron: TERM=screen PATH=(custom, no user) XDG_RUNTIME_DIR=set LANG=en_US.UTF-8 SHELL=/bin/bash SourcePackage: isc-dhcp UpgradeStatus: No upgrade log present (probably fresh install) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/isc-dhcp/+bug/1446767/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1446767] Re: dhclient can fail if other nics are renamed
So, has anyone verified that the update is properly fixing the bug on Trusty? -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to isc-dhcp in Ubuntu. https://bugs.launchpad.net/bugs/1446767 Title: dhclient can fail if other nics are renamed Status in isc-dhcp package in Ubuntu: Fix Released Status in isc-dhcp source package in Trusty: Fix Committed Status in isc-dhcp source package in Vivid: Fix Released Status in isc-dhcp source package in Wily: Fix Released Status in isc-dhcp package in Fedora: Unknown Bug description: === Begin SRU Information === [Impact] Systems that use dhcp for network config combined with network device re-naming can hit a race condition in dhclient which causes dhcp to fail. Any network device renaming could cause this, but the most likely scenario is boot with udev persistent naming in /etc/udev/rules.d/70-persistent-net.rules. This can be a fatal error when network devices that are required for proper function. [Test Case] To recreate the failure: * boot an ubuntu system with an interface that can dhcp * configure /etc/network/interfaces for dhcp on that interface $ grep eth0 /etc/network/interfaces auto eth0 iface eth0 inet dhcp * run attached 'nic-go-crazy' as root in one window/shell this will create by default 10 tuntap devices and repeatedly rename them. * run attached 'ifup-loop eth0' ifup-loop will exit failure if dhclient failed to bring the network up. With the fix provided, this will/should run indefinitely. [Regression Potential] Chance for regression here should be reasonably small. However, a very significant number of systems run dhclient, so any change has to be considered risky. One thing to note, is that Fedora has carried this patch for 3 years. Per getifaddrs(3): | The getifaddrs() function first appeared in glibc 2.3, but before glibc | 2.3.3, the implementation supported only IPv4 addresses; IPv6 support | was added in glibc 2.3.3. Support of address families other than IPv4 | is available only on kernels that support netlink. These versions are older than any supported Ubuntu release, so that should not be a problem. === End SRU Information === given 3 nics eth0, eth1, eth2 dhclient -1 -v -pf /run/dhclient.eth0.pid -lf /var/lib/dhcp/dhclient.eth0.leases eth0 while that in its early phases, if eth1 is renamed a race condition can cause dhclient to exit failure. This can happen in real life when udev and persistent rules are used. Ie, in a system where eth0 is configured for 'auto' and dhcp and persistent rules cause renaming of devices during boot. I have set up recreate of that more complex system lp:~smoser/+junk/lp128 , but this recreate is simpler to catch. example, while running attached 'nic-go-crazy' on other nics, I try ifup eth1 $ sudo ifup eth1 sudo: unable to resolve host ubuntu Internet Systems Consortium DHCP Client 4.3.1 Copyright 2004-2014 Internet Systems Consortium. All rights reserved. For info, please visit https://www.isc.org/software/dhcp/ Error getting interface address for 'nic0317610'; No such device Error getting interface information. If you think you have received this message due to a bug rather than a configuration issue please read the section on submitting bugs on either our web page at www.isc.org or in the README file before submitting a bug. These pages explain the proper process and the information we find helpful for debugging.. exiting. Failed to bring up eth1. ProblemType: Bug DistroRelease: Ubuntu 15.04 Package: isc-dhcp-client 4.3.1-5ubuntu2 ProcVersionSignature: User Name 3.19.0-15.15-generic 3.19.3 Uname: Linux 3.19.0-15-generic x86_64 ApportVersion: 2.17.2-0ubuntu1 Architecture: amd64 Date: Tue Apr 21 16:35:10 2015 DhclientLeases: ProcEnviron: TERM=screen PATH=(custom, no user) XDG_RUNTIME_DIR=set LANG=en_US.UTF-8 SHELL=/bin/bash SourcePackage: isc-dhcp UpgradeStatus: No upgrade log present (probably fresh install) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/isc-dhcp/+bug/1446767/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1446767] Re: dhclient can fail if other nics are renamed
With some other work that I was doing, I found bug 1272414 it seems that getifaddrs() is somewhat slow when lots of interfaces are used. so this could have a bit of a performance impact in some places. that said, dhclient is not likely a heavy use path. -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to isc-dhcp in Ubuntu. https://bugs.launchpad.net/bugs/1446767 Title: dhclient can fail if other nics are renamed Status in isc-dhcp package in Ubuntu: Fix Released Status in isc-dhcp source package in Trusty: Fix Committed Status in isc-dhcp source package in Vivid: Fix Committed Status in isc-dhcp source package in Wily: Fix Released Status in isc-dhcp package in Fedora: Unknown Bug description: === Begin SRU Information === [Impact] Systems that use dhcp for network config combined with network device re-naming can hit a race condition in dhclient which causes dhcp to fail. Any network device renaming could cause this, but the most likely scenario is boot with udev persistent naming in /etc/udev/rules.d/70-persistent-net.rules. This can be a fatal error when network devices that are required for proper function. [Test Case] To recreate the failure: * boot an ubuntu system with an interface that can dhcp * configure /etc/network/interfaces for dhcp on that interface $ grep eth0 /etc/network/interfaces auto eth0 iface eth0 inet dhcp * run attached 'nic-go-crazy' as root in one window/shell this will create by default 10 tuntap devices and repeatedly rename them. * run attached 'ifup-loop eth0' ifup-loop will exit failure if dhclient failed to bring the network up. With the fix provided, this will/should run indefinitely. [Regression Potential] Chance for regression here should be reasonably small. However, a very significant number of systems run dhclient, so any change has to be considered risky. One thing to note, is that Fedora has carried this patch for 3 years. Per getifaddrs(3): | The getifaddrs() function first appeared in glibc 2.3, but before glibc | 2.3.3, the implementation supported only IPv4 addresses; IPv6 support | was added in glibc 2.3.3. Support of address families other than IPv4 | is available only on kernels that support netlink. These versions are older than any supported Ubuntu release, so that should not be a problem. === End SRU Information === given 3 nics eth0, eth1, eth2 dhclient -1 -v -pf /run/dhclient.eth0.pid -lf /var/lib/dhcp/dhclient.eth0.leases eth0 while that in its early phases, if eth1 is renamed a race condition can cause dhclient to exit failure. This can happen in real life when udev and persistent rules are used. Ie, in a system where eth0 is configured for 'auto' and dhcp and persistent rules cause renaming of devices during boot. I have set up recreate of that more complex system lp:~smoser/+junk/lp128 , but this recreate is simpler to catch. example, while running attached 'nic-go-crazy' on other nics, I try ifup eth1 $ sudo ifup eth1 sudo: unable to resolve host ubuntu Internet Systems Consortium DHCP Client 4.3.1 Copyright 2004-2014 Internet Systems Consortium. All rights reserved. For info, please visit https://www.isc.org/software/dhcp/ Error getting interface address for 'nic0317610'; No such device Error getting interface information. If you think you have received this message due to a bug rather than a configuration issue please read the section on submitting bugs on either our web page at www.isc.org or in the README file before submitting a bug. These pages explain the proper process and the information we find helpful for debugging.. exiting. Failed to bring up eth1. ProblemType: Bug DistroRelease: Ubuntu 15.04 Package: isc-dhcp-client 4.3.1-5ubuntu2 ProcVersionSignature: User Name 3.19.0-15.15-generic 3.19.3 Uname: Linux 3.19.0-15-generic x86_64 ApportVersion: 2.17.2-0ubuntu1 Architecture: amd64 Date: Tue Apr 21 16:35:10 2015 DhclientLeases: ProcEnviron: TERM=screen PATH=(custom, no user) XDG_RUNTIME_DIR=set LANG=en_US.UTF-8 SHELL=/bin/bash SourcePackage: isc-dhcp UpgradeStatus: No upgrade log present (probably fresh install) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/isc-dhcp/+bug/1446767/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1446767] Re: dhclient can fail if other nics are renamed
This bug was fixed in the package isc-dhcp - 4.3.1-5ubuntu2.1 --- isc-dhcp (4.3.1-5ubuntu2.1) vivid-proposed; urgency=medium * debian/patches/dhcp-getifaddrs.patch: use getifaddrs for getting nic addresses rather than /proc/net (LP: #1446767) -- Scott Moser smo...@ubuntu.com Tue, 21 Apr 2015 18:10:40 + ** Changed in: isc-dhcp (Ubuntu Vivid) Status: Fix Committed = Fix Released -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to isc-dhcp in Ubuntu. https://bugs.launchpad.net/bugs/1446767 Title: dhclient can fail if other nics are renamed Status in isc-dhcp package in Ubuntu: Fix Released Status in isc-dhcp source package in Trusty: Fix Committed Status in isc-dhcp source package in Vivid: Fix Released Status in isc-dhcp source package in Wily: Fix Released Status in isc-dhcp package in Fedora: Unknown Bug description: === Begin SRU Information === [Impact] Systems that use dhcp for network config combined with network device re-naming can hit a race condition in dhclient which causes dhcp to fail. Any network device renaming could cause this, but the most likely scenario is boot with udev persistent naming in /etc/udev/rules.d/70-persistent-net.rules. This can be a fatal error when network devices that are required for proper function. [Test Case] To recreate the failure: * boot an ubuntu system with an interface that can dhcp * configure /etc/network/interfaces for dhcp on that interface $ grep eth0 /etc/network/interfaces auto eth0 iface eth0 inet dhcp * run attached 'nic-go-crazy' as root in one window/shell this will create by default 10 tuntap devices and repeatedly rename them. * run attached 'ifup-loop eth0' ifup-loop will exit failure if dhclient failed to bring the network up. With the fix provided, this will/should run indefinitely. [Regression Potential] Chance for regression here should be reasonably small. However, a very significant number of systems run dhclient, so any change has to be considered risky. One thing to note, is that Fedora has carried this patch for 3 years. Per getifaddrs(3): | The getifaddrs() function first appeared in glibc 2.3, but before glibc | 2.3.3, the implementation supported only IPv4 addresses; IPv6 support | was added in glibc 2.3.3. Support of address families other than IPv4 | is available only on kernels that support netlink. These versions are older than any supported Ubuntu release, so that should not be a problem. === End SRU Information === given 3 nics eth0, eth1, eth2 dhclient -1 -v -pf /run/dhclient.eth0.pid -lf /var/lib/dhcp/dhclient.eth0.leases eth0 while that in its early phases, if eth1 is renamed a race condition can cause dhclient to exit failure. This can happen in real life when udev and persistent rules are used. Ie, in a system where eth0 is configured for 'auto' and dhcp and persistent rules cause renaming of devices during boot. I have set up recreate of that more complex system lp:~smoser/+junk/lp128 , but this recreate is simpler to catch. example, while running attached 'nic-go-crazy' on other nics, I try ifup eth1 $ sudo ifup eth1 sudo: unable to resolve host ubuntu Internet Systems Consortium DHCP Client 4.3.1 Copyright 2004-2014 Internet Systems Consortium. All rights reserved. For info, please visit https://www.isc.org/software/dhcp/ Error getting interface address for 'nic0317610'; No such device Error getting interface information. If you think you have received this message due to a bug rather than a configuration issue please read the section on submitting bugs on either our web page at www.isc.org or in the README file before submitting a bug. These pages explain the proper process and the information we find helpful for debugging.. exiting. Failed to bring up eth1. ProblemType: Bug DistroRelease: Ubuntu 15.04 Package: isc-dhcp-client 4.3.1-5ubuntu2 ProcVersionSignature: User Name 3.19.0-15.15-generic 3.19.3 Uname: Linux 3.19.0-15-generic x86_64 ApportVersion: 2.17.2-0ubuntu1 Architecture: amd64 Date: Tue Apr 21 16:35:10 2015 DhclientLeases: ProcEnviron: TERM=screen PATH=(custom, no user) XDG_RUNTIME_DIR=set LANG=en_US.UTF-8 SHELL=/bin/bash SourcePackage: isc-dhcp UpgradeStatus: No upgrade log present (probably fresh install) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/isc-dhcp/+bug/1446767/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1446767] Re: dhclient can fail if other nics are renamed
host $ rel=vivid serial=20150422 host $ url=http://cloud-images.ubuntu.com/releases/$rel/release-$serial/ubuntu-14.04-server-cloudimg-amd64-disk1.img host $ img_dist=$rel-$serial-amd64.img.dist host $ img=${img_dist%.dist} ## host host $ pkgs=qemu-utils qemu-system-x86 cloud-image-utils host $ sudo apt-get --assume-yes install $pkgs host $ [ -f $img_dist ] || { wget $url -O $img_dist.tmp mv $img_dist.tmp $img_dist; } host $ [ -f $img ] || { qemu-img convert -O raw $img_dist $img.tmp mv $img.tmp $img; } ## create a user-data to let you log in host $ cat user-data EOF #cloud-config password: passw0rd chpasswd: { expire: False } ssh_pwauth: True EOF host $ cloud-localds seed.img user-data ## launch a guest with 2 nics, one stable/ssh in, one for testing host $ qemu-img create -f qcow2 -b $img disk.img host $ qemu-system-x86_64 -enable-kvm \ -device virtio-net-pci,netdev=net00 \ -netdev user,id=net00,hostfwd=tcp::-:22 \ -device virtio-net-pci,netdev=net01 \ -netdev user,id=net01 \ -drive if=virtio,file=disk.img,if=virtio \ -drive if=virtio,file=seed.img,if=virtio \ -m 768 -curses ## have 2 windows / shells in system. ### setup system guest $ crazy_url=http://bazaar.launchpad.net/~smoser/+junk/lp128/download/head:/nicgocrazy-20150421193756-8xtcmllz0qf4efb4-2/nic-go-crazy guest $ $ loop_url=http://bazaar.launchpad.net/~smoser/+junk/lp128/download/head:/ifuploop-20150421193756-8xtcmllz0qf4efb4-1/ifup-loop guest $ wget $crazy_url -O nic-go-crazy guest $ wget $loop_url -O loop-ifup guest $ chmod 755 nic-go-crazy loop-ifup guest $ echo iface eth1 inet dhcp | sudo tee -a /etc/network/interfaces ### recreate failure guest-w1 % sudo ./nic-go-crazy 20 nicfoo guest-w2 % sudo ./loop-ifup sudo ./loop-ifup sudo: unable to resolve host ubuntu Internet Systems Consortium DHCP Client 4.3.1 Copyright 2004-2014 Internet Systems Consortium. All rights reserved. For info, please visit https://www.isc.org/software/dhcp/ Error getting interface address for 'nic0927390'; No such device Error getting interface information. If you think you have received this message due to a bug rather than a configuration issue please read the section on submitting bugs on either our web page at www.isc.org or in the README file before submitting a bug. These pages explain the proper process and the information we find helpful for debugging.. exiting. Failed to bring up eth1. ### enable proposed and get update ### guest $ rel=$(lsb_release -sc) guest $ echo deb http://archive.ubuntu.com/ubuntu ${rel}-proposed main | sudo tee -a /etc/apt/sources.list.d/proposed.list guest $ sudo apt-get update --quiet guest $ apt-cache policy isc-dhcp-client isc-dhcp-client: Installed: 4.3.1-5ubuntu2 Candidate: 4.3.1-5ubuntu2.1 Version table: 4.3.1-5ubuntu2.1 0 500 http://archive.ubuntu.com/ubuntu/ vivid-proposed/main amd64 Packages *** 4.3.1-5ubuntu2 0 500 http://archive.ubuntu.com/ubuntu/ vivid/main amd64 Packages 100 /var/lib/dpkg/status guest $ sudo apt-get install isc-dhcp-client -qy ## retry the 'recreate failure' test above. It should run indefinintely. ** Tags removed: verification-needed ** Tags added: verification-done -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to isc-dhcp in Ubuntu. https://bugs.launchpad.net/bugs/1446767 Title: dhclient can fail if other nics are renamed Status in isc-dhcp package in Ubuntu: Fix Committed Status in isc-dhcp source package in Trusty: Fix Committed Status in isc-dhcp source package in Vivid: Fix Committed Status in isc-dhcp source package in Wily: Triaged Status in isc-dhcp package in Fedora: Unknown Bug description: === Begin SRU Information === [Impact] Systems that use dhcp for network config combined with network device re-naming can hit a race condition in dhclient which causes dhcp to fail. Any network device renaming could cause this, but the most likely scenario is boot with udev persistent naming in /etc/udev/rules.d/70-persistent-net.rules. This can be a fatal error when network devices that are required for proper function. [Test Case] To recreate the failure: * boot an ubuntu system with an interface that can dhcp * configure /etc/network/interfaces for dhcp on that interface $ grep eth0 /etc/network/interfaces auto eth0 iface eth0 inet dhcp * run attached 'nic-go-crazy' as root in one window/shell this will create by default 10 tuntap devices and repeatedly rename them. * run attached 'ifup-loop eth0' ifup-loop will exit failure if dhclient failed to bring the network up. With the fix provided, this will/should run indefinitely. [Regression Potential] Chance for regression here should be reasonably small. However, a very significant number of systems run dhclient, so any change has to be considered risky. One thing to note, is that Fedora has
[Touch-packages] [Bug 1446767] Re: dhclient can fail if other nics are renamed
## host system is vivid, trusty would also do host $ rel=trusty ; serial=20150417 host $ url=http://cloud-images.ubuntu.com/releases/$rel/release-$serial/ubuntu-14.04-server-cloudimg-amd64-disk1.img host $ img_dist=$rel-$serial-amd64.img.dist host $ img=${img_dist%.dist} host $ pkgs=qemu-utils qemu-system-x86 cloud-image-utils host $ sudo apt-get --assume-yes install $pkgs ## get images and convert qcow to raw host $ [ -f $img_dist ] || { wget $url -O $img_dist.tmp mv $img_dist.tmp $img_dist; } host $ [ -f $img ] || { qemu-img convert -O raw $img_dist $img.tmp mv $img.tmp $img; } ## create a user-data to let you log in host $ cat user-data EOF #cloud-config password: passw0rd chpasswd: { expire: False } ssh_pwauth: True EOF host $ cloud-localds seed.img user-data ## launch a guest with 2 nics, one stable/ssh in, one for testing ## you can ssh in with 'ubuntu/passw0rd' with 'ssh -p ubuntu@localhost' host $ qemu-img create -f qcow2 -b $img disk.img host $ qemu-system-x86_64 -enable-kvm \ -device virtio-net-pci,netdev=net00 \ -netdev user,id=net00,hostfwd=tcp::-:22 \ -device virtio-net-pci,netdev=net01 \ -netdev user,id=net01 \ -drive if=virtio,file=disk.img,if=virtio \ -drive if=virtio,file=seed.img,if=virtio \ -m 768 -curses ## have 2 windows / shells in system. ### setup system guest $ crazy_url=http://bazaar.launchpad.net/~smoser/+junk/lp128/download/head:/nicgocrazy-20150421193756-8xtcmllz0qf4efb4-2/nic-go-crazy guest $ $ loop_url=http://bazaar.launchpad.net/~smoser/+junk/lp128/download/head:/ifuploop-20150421193756-8xtcmllz0qf4efb4-1/ifup-loop guest $ wget $crazy_url -O nic-go-crazy guest $ wget $loop_url -O loop-ifup guest $ chmod 755 nic-go-crazy loop-ifup guest $ echo iface eth1 inet dhcp | sudo tee -a /etc/network/interfaces ### recreate failure guest-w1 % sudo ./nic-go-crazy 20 nicfoo guest-w2 % sudo ./loop-ifup Internet Systems Consortium DHCP Client 4.2.4 Copyright 2004-2012 Internet Systems Consortium. All rights reserved. For info, please visit https://www.isc.org/software/dhcp/ Error getting interface address for 'nic074725'; No such device Error getting interface information. Failed to bring up eth1. ### enable proposed and get update ### guest $ rel=$(lsb_release -sc) guest $ echo deb http://archive.ubuntu.com/ubuntu ${rel}-proposed main | sudo tee -a /etc/apt/sources.list.d/proposed.list guest $ sudo apt-get update --quiet guest $ sudo apt-cache policy guest $ sudo apt-cache policy isc-dhcp-client isc-dhcp-client: Installed: 4.2.4-7ubuntu12.1 Candidate: 4.2.4-7ubuntu12.2 Version table: 4.2.4-7ubuntu12.2 0 500 http://archive.ubuntu.com/ubuntu/ trusty-proposed/main amd64 Packages *** 4.2.4-7ubuntu12.1 0 500 http://archive.ubuntu.com/ubuntu/ trusty-updates/main amd64 Packages 100 /var/lib/dpkg/status 4.2.4-7ubuntu12 0 500 http://archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages guest $ sudo apt-get install isc-dhcp-client -qy ## retry the 'recreate failure' test above. It should run indefinintely. -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to isc-dhcp in Ubuntu. https://bugs.launchpad.net/bugs/1446767 Title: dhclient can fail if other nics are renamed Status in isc-dhcp package in Ubuntu: Fix Committed Status in isc-dhcp source package in Trusty: Fix Committed Status in isc-dhcp source package in Vivid: Fix Committed Status in isc-dhcp source package in Wily: Triaged Status in isc-dhcp package in Fedora: Unknown Bug description: === Begin SRU Information === [Impact] Systems that use dhcp for network config combined with network device re-naming can hit a race condition in dhclient which causes dhcp to fail. Any network device renaming could cause this, but the most likely scenario is boot with udev persistent naming in /etc/udev/rules.d/70-persistent-net.rules. This can be a fatal error when network devices that are required for proper function. [Test Case] To recreate the failure: * boot an ubuntu system with an interface that can dhcp * configure /etc/network/interfaces for dhcp on that interface $ grep eth0 /etc/network/interfaces auto eth0 iface eth0 inet dhcp * run attached 'nic-go-crazy' as root in one window/shell this will create by default 10 tuntap devices and repeatedly rename them. * run attached 'ifup-loop eth0' ifup-loop will exit failure if dhclient failed to bring the network up. With the fix provided, this will/should run indefinitely. [Regression Potential] Chance for regression here should be reasonably small. However, a very significant number of systems run dhclient, so any change has to be considered risky. One thing to note, is that Fedora has carried this patch for 3 years. Per getifaddrs(3): | The getifaddrs() function first appeared in glibc 2.3, but before glibc | 2.3.3,
[Touch-packages] [Bug 1446767] Re: dhclient can fail if other nics are renamed
This bug was fixed in the package isc-dhcp - 4.3.1-5ubuntu2.1 --- isc-dhcp (4.3.1-5ubuntu2.1) vivid-proposed; urgency=medium * debian/patches/dhcp-getifaddrs.patch: use getifaddrs for getting nic addresses rather than /proc/net (LP: #1446767) -- Scott Moser smo...@ubuntu.com Tue, 21 Apr 2015 18:10:40 + ** Changed in: isc-dhcp (Ubuntu Wily) Status: Triaged = Fix Released -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to isc-dhcp in Ubuntu. https://bugs.launchpad.net/bugs/1446767 Title: dhclient can fail if other nics are renamed Status in isc-dhcp package in Ubuntu: Fix Released Status in isc-dhcp source package in Trusty: Fix Committed Status in isc-dhcp source package in Vivid: Fix Committed Status in isc-dhcp source package in Wily: Fix Released Status in isc-dhcp package in Fedora: Unknown Bug description: === Begin SRU Information === [Impact] Systems that use dhcp for network config combined with network device re-naming can hit a race condition in dhclient which causes dhcp to fail. Any network device renaming could cause this, but the most likely scenario is boot with udev persistent naming in /etc/udev/rules.d/70-persistent-net.rules. This can be a fatal error when network devices that are required for proper function. [Test Case] To recreate the failure: * boot an ubuntu system with an interface that can dhcp * configure /etc/network/interfaces for dhcp on that interface $ grep eth0 /etc/network/interfaces auto eth0 iface eth0 inet dhcp * run attached 'nic-go-crazy' as root in one window/shell this will create by default 10 tuntap devices and repeatedly rename them. * run attached 'ifup-loop eth0' ifup-loop will exit failure if dhclient failed to bring the network up. With the fix provided, this will/should run indefinitely. [Regression Potential] Chance for regression here should be reasonably small. However, a very significant number of systems run dhclient, so any change has to be considered risky. One thing to note, is that Fedora has carried this patch for 3 years. Per getifaddrs(3): | The getifaddrs() function first appeared in glibc 2.3, but before glibc | 2.3.3, the implementation supported only IPv4 addresses; IPv6 support | was added in glibc 2.3.3. Support of address families other than IPv4 | is available only on kernels that support netlink. These versions are older than any supported Ubuntu release, so that should not be a problem. === End SRU Information === given 3 nics eth0, eth1, eth2 dhclient -1 -v -pf /run/dhclient.eth0.pid -lf /var/lib/dhcp/dhclient.eth0.leases eth0 while that in its early phases, if eth1 is renamed a race condition can cause dhclient to exit failure. This can happen in real life when udev and persistent rules are used. Ie, in a system where eth0 is configured for 'auto' and dhcp and persistent rules cause renaming of devices during boot. I have set up recreate of that more complex system lp:~smoser/+junk/lp128 , but this recreate is simpler to catch. example, while running attached 'nic-go-crazy' on other nics, I try ifup eth1 $ sudo ifup eth1 sudo: unable to resolve host ubuntu Internet Systems Consortium DHCP Client 4.3.1 Copyright 2004-2014 Internet Systems Consortium. All rights reserved. For info, please visit https://www.isc.org/software/dhcp/ Error getting interface address for 'nic0317610'; No such device Error getting interface information. If you think you have received this message due to a bug rather than a configuration issue please read the section on submitting bugs on either our web page at www.isc.org or in the README file before submitting a bug. These pages explain the proper process and the information we find helpful for debugging.. exiting. Failed to bring up eth1. ProblemType: Bug DistroRelease: Ubuntu 15.04 Package: isc-dhcp-client 4.3.1-5ubuntu2 ProcVersionSignature: User Name 3.19.0-15.15-generic 3.19.3 Uname: Linux 3.19.0-15-generic x86_64 ApportVersion: 2.17.2-0ubuntu1 Architecture: amd64 Date: Tue Apr 21 16:35:10 2015 DhclientLeases: ProcEnviron: TERM=screen PATH=(custom, no user) XDG_RUNTIME_DIR=set LANG=en_US.UTF-8 SHELL=/bin/bash SourcePackage: isc-dhcp UpgradeStatus: No upgrade log present (probably fresh install) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/isc-dhcp/+bug/1446767/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1446767] Re: dhclient can fail if other nics are renamed
This has already ended up in vivid-proposed. ** Also affects: isc-dhcp (Fedora) via https://bugzilla.redhat.com/show_bug.cgi?id=449946 Importance: Unknown Status: Unknown ** Changed in: isc-dhcp (Ubuntu W-series) Status: Confirmed = Fix Committed ** Changed in: isc-dhcp (Ubuntu W-series) Status: Fix Committed = Triaged ** Changed in: isc-dhcp (Ubuntu Vivid) Status: Confirmed = Fix Committed ** Changed in: isc-dhcp (Ubuntu Trusty) Status: Confirmed = Fix Committed ** Tags added: verification-needed -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to isc-dhcp in Ubuntu. https://bugs.launchpad.net/bugs/1446767 Title: dhclient can fail if other nics are renamed Status in isc-dhcp package in Ubuntu: Fix Committed Status in isc-dhcp source package in Trusty: Fix Committed Status in isc-dhcp source package in Vivid: Fix Committed Status in isc-dhcp source package in w-series: Triaged Status in isc-dhcp package in Fedora: Unknown Bug description: === Begin SRU Information === [Impact] Systems that use dhcp for network config combined with network device re-naming can hit a race condition in dhclient which causes dhcp to fail. Any network device renaming could cause this, but the most likely scenario is boot with udev persistent naming in /etc/udev/rules.d/70-persistent-net.rules. This can be a fatal error when network devices that are required for proper function. [Test Case] To recreate the failure: * boot an ubuntu system with an interface that can dhcp * configure /etc/network/interfaces for dhcp on that interface $ grep eth0 /etc/network/interfaces auto eth0 iface eth0 inet dhcp * run attached 'nic-go-crazy' as root in one window/shell this will create by default 10 tuntap devices and repeatedly rename them. * run attached 'ifup-loop eth0' ifup-loop will exit failure if dhclient failed to bring the network up. With the fix provided, this will/should run indefinitely. [Regression Potential] Chance for regression here should be reasonably small. However, a very significant number of systems run dhclient, so any change has to be considered risky. One thing to note, is that Fedora has carried this patch for 3 years. Per getifaddrs(3): | The getifaddrs() function first appeared in glibc 2.3, but before glibc | 2.3.3, the implementation supported only IPv4 addresses; IPv6 support | was added in glibc 2.3.3. Support of address families other than IPv4 | is available only on kernels that support netlink. These versions are older than any supported Ubuntu release, so that should not be a problem. === End SRU Information === given 3 nics eth0, eth1, eth2 dhclient -1 -v -pf /run/dhclient.eth0.pid -lf /var/lib/dhcp/dhclient.eth0.leases eth0 while that in its early phases, if eth1 is renamed a race condition can cause dhclient to exit failure. This can happen in real life when udev and persistent rules are used. Ie, in a system where eth0 is configured for 'auto' and dhcp and persistent rules cause renaming of devices during boot. I have set up recreate of that more complex system lp:~smoser/+junk/lp128 , but this recreate is simpler to catch. example, while running attached 'nic-go-crazy' on other nics, I try ifup eth1 $ sudo ifup eth1 sudo: unable to resolve host ubuntu Internet Systems Consortium DHCP Client 4.3.1 Copyright 2004-2014 Internet Systems Consortium. All rights reserved. For info, please visit https://www.isc.org/software/dhcp/ Error getting interface address for 'nic0317610'; No such device Error getting interface information. If you think you have received this message due to a bug rather than a configuration issue please read the section on submitting bugs on either our web page at www.isc.org or in the README file before submitting a bug. These pages explain the proper process and the information we find helpful for debugging.. exiting. Failed to bring up eth1. ProblemType: Bug DistroRelease: Ubuntu 15.04 Package: isc-dhcp-client 4.3.1-5ubuntu2 ProcVersionSignature: User Name 3.19.0-15.15-generic 3.19.3 Uname: Linux 3.19.0-15-generic x86_64 ApportVersion: 2.17.2-0ubuntu1 Architecture: amd64 Date: Tue Apr 21 16:35:10 2015 DhclientLeases: ProcEnviron: TERM=screen PATH=(custom, no user) XDG_RUNTIME_DIR=set LANG=en_US.UTF-8 SHELL=/bin/bash SourcePackage: isc-dhcp UpgradeStatus: No upgrade log present (probably fresh install) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/isc-dhcp/+bug/1446767/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1446767] Re: dhclient can fail if other nics are renamed
** Patch added: fix applied to vivid https://bugs.launchpad.net/ubuntu/+source/isc-dhcp/+bug/1446767/+attachment/4380759/+files/lp-1446767-vivid.diff ** Attachment removed: nic-go-crazy: randomly rename nics for dhclient noise https://bugs.launchpad.net/ubuntu/+source/isc-dhcp/+bug/1446767/+attachment/4380696/+files/nic-go-crazy -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to isc-dhcp in Ubuntu. https://bugs.launchpad.net/bugs/1446767 Title: dhclient can fail if other nics are renamed Status in isc-dhcp package in Ubuntu: Confirmed Status in isc-dhcp source package in Trusty: Confirmed Status in isc-dhcp source package in Vivid: Confirmed Status in isc-dhcp source package in w-series: Confirmed Bug description: given 3 nics eth0, eth1, eth2 dhclient -1 -v -pf /run/dhclient.eth0.pid -lf /var/lib/dhcp/dhclient.eth0.leases eth0 while that in its early phases, if eth1 is renamed a race condition can cause dhclient to exit failure. This can happen in real life when udev and persistent rules are used. Ie, in a system where eth0 is configured for 'auto' and dhcp and persistent rules cause renaming of devices during boot. I have set up recreate of that more complex system lp:~smoser/+junk/lp128 , but this recreate is simpler to catch. example, while running attached 'nic-go-crazy' on other nics, I try ifup eth1 $ sudo ifup eth1 sudo: unable to resolve host ubuntu Internet Systems Consortium DHCP Client 4.3.1 Copyright 2004-2014 Internet Systems Consortium. All rights reserved. For info, please visit https://www.isc.org/software/dhcp/ Error getting interface address for 'nic0317610'; No such device Error getting interface information. If you think you have received this message due to a bug rather than a configuration issue please read the section on submitting bugs on either our web page at www.isc.org or in the README file before submitting a bug. These pages explain the proper process and the information we find helpful for debugging.. exiting. Failed to bring up eth1. ProblemType: Bug DistroRelease: Ubuntu 15.04 Package: isc-dhcp-client 4.3.1-5ubuntu2 ProcVersionSignature: User Name 3.19.0-15.15-generic 3.19.3 Uname: Linux 3.19.0-15-generic x86_64 ApportVersion: 2.17.2-0ubuntu1 Architecture: amd64 Date: Tue Apr 21 16:35:10 2015 DhclientLeases: ProcEnviron: TERM=screen PATH=(custom, no user) XDG_RUNTIME_DIR=set LANG=en_US.UTF-8 SHELL=/bin/bash SourcePackage: isc-dhcp UpgradeStatus: No upgrade log present (probably fresh install) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/isc-dhcp/+bug/1446767/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1446767] Re: dhclient can fail if other nics are renamed
** Attachment added: ifup-loop: loop over ifdown / ifup for a nic to cause dhclient failure https://bugs.launchpad.net/ubuntu/+source/isc-dhcp/+bug/1446767/+attachment/4380761/+files/ifup-loop -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to isc-dhcp in Ubuntu. https://bugs.launchpad.net/bugs/1446767 Title: dhclient can fail if other nics are renamed Status in isc-dhcp package in Ubuntu: Confirmed Status in isc-dhcp source package in Trusty: Confirmed Status in isc-dhcp source package in Vivid: Confirmed Status in isc-dhcp source package in w-series: Confirmed Bug description: given 3 nics eth0, eth1, eth2 dhclient -1 -v -pf /run/dhclient.eth0.pid -lf /var/lib/dhcp/dhclient.eth0.leases eth0 while that in its early phases, if eth1 is renamed a race condition can cause dhclient to exit failure. This can happen in real life when udev and persistent rules are used. Ie, in a system where eth0 is configured for 'auto' and dhcp and persistent rules cause renaming of devices during boot. I have set up recreate of that more complex system lp:~smoser/+junk/lp128 , but this recreate is simpler to catch. example, while running attached 'nic-go-crazy' on other nics, I try ifup eth1 $ sudo ifup eth1 sudo: unable to resolve host ubuntu Internet Systems Consortium DHCP Client 4.3.1 Copyright 2004-2014 Internet Systems Consortium. All rights reserved. For info, please visit https://www.isc.org/software/dhcp/ Error getting interface address for 'nic0317610'; No such device Error getting interface information. If you think you have received this message due to a bug rather than a configuration issue please read the section on submitting bugs on either our web page at www.isc.org or in the README file before submitting a bug. These pages explain the proper process and the information we find helpful for debugging.. exiting. Failed to bring up eth1. ProblemType: Bug DistroRelease: Ubuntu 15.04 Package: isc-dhcp-client 4.3.1-5ubuntu2 ProcVersionSignature: User Name 3.19.0-15.15-generic 3.19.3 Uname: Linux 3.19.0-15-generic x86_64 ApportVersion: 2.17.2-0ubuntu1 Architecture: amd64 Date: Tue Apr 21 16:35:10 2015 DhclientLeases: ProcEnviron: TERM=screen PATH=(custom, no user) XDG_RUNTIME_DIR=set LANG=en_US.UTF-8 SHELL=/bin/bash SourcePackage: isc-dhcp UpgradeStatus: No upgrade log present (probably fresh install) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/isc-dhcp/+bug/1446767/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1446767] Re: dhclient can fail if other nics are renamed
** Attachment added: nic-go-crazy: randomly rename nics for dhclient noise https://bugs.launchpad.net/ubuntu/+source/isc-dhcp/+bug/1446767/+attachment/4380760/+files/nic-go-crazy -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to isc-dhcp in Ubuntu. https://bugs.launchpad.net/bugs/1446767 Title: dhclient can fail if other nics are renamed Status in isc-dhcp package in Ubuntu: Confirmed Status in isc-dhcp source package in Trusty: Confirmed Status in isc-dhcp source package in Vivid: Confirmed Status in isc-dhcp source package in w-series: Confirmed Bug description: given 3 nics eth0, eth1, eth2 dhclient -1 -v -pf /run/dhclient.eth0.pid -lf /var/lib/dhcp/dhclient.eth0.leases eth0 while that in its early phases, if eth1 is renamed a race condition can cause dhclient to exit failure. This can happen in real life when udev and persistent rules are used. Ie, in a system where eth0 is configured for 'auto' and dhcp and persistent rules cause renaming of devices during boot. I have set up recreate of that more complex system lp:~smoser/+junk/lp128 , but this recreate is simpler to catch. example, while running attached 'nic-go-crazy' on other nics, I try ifup eth1 $ sudo ifup eth1 sudo: unable to resolve host ubuntu Internet Systems Consortium DHCP Client 4.3.1 Copyright 2004-2014 Internet Systems Consortium. All rights reserved. For info, please visit https://www.isc.org/software/dhcp/ Error getting interface address for 'nic0317610'; No such device Error getting interface information. If you think you have received this message due to a bug rather than a configuration issue please read the section on submitting bugs on either our web page at www.isc.org or in the README file before submitting a bug. These pages explain the proper process and the information we find helpful for debugging.. exiting. Failed to bring up eth1. ProblemType: Bug DistroRelease: Ubuntu 15.04 Package: isc-dhcp-client 4.3.1-5ubuntu2 ProcVersionSignature: User Name 3.19.0-15.15-generic 3.19.3 Uname: Linux 3.19.0-15-generic x86_64 ApportVersion: 2.17.2-0ubuntu1 Architecture: amd64 Date: Tue Apr 21 16:35:10 2015 DhclientLeases: ProcEnviron: TERM=screen PATH=(custom, no user) XDG_RUNTIME_DIR=set LANG=en_US.UTF-8 SHELL=/bin/bash SourcePackage: isc-dhcp UpgradeStatus: No upgrade log present (probably fresh install) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/isc-dhcp/+bug/1446767/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1446767] Re: dhclient can fail if other nics are renamed
** Attachment added: nic-go-crazy: randomly rename nics for dhclient noise https://bugs.launchpad.net/ubuntu/+source/isc-dhcp/+bug/1446767/+attachment/4380696/+files/nic-go-crazy ** Changed in: isc-dhcp (Ubuntu) Status: New = Confirmed ** Changed in: isc-dhcp (Ubuntu) Importance: Undecided = High ** Also affects: isc-dhcp (Ubuntu Trusty) Importance: Undecided Status: New ** Also affects: isc-dhcp (Ubuntu W-series) Importance: Undecided Status: New ** Also affects: isc-dhcp (Ubuntu Vivid) Importance: High Status: Confirmed ** Changed in: isc-dhcp (Ubuntu Trusty) Status: New = Confirmed ** Changed in: isc-dhcp (Ubuntu W-series) Status: New = Confirmed ** Changed in: isc-dhcp (Ubuntu Trusty) Importance: Undecided = High ** Changed in: isc-dhcp (Ubuntu W-series) Importance: Undecided = High -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to isc-dhcp in Ubuntu. https://bugs.launchpad.net/bugs/1446767 Title: dhclient can fail if other nics are renamed Status in isc-dhcp package in Ubuntu: Confirmed Status in isc-dhcp source package in Trusty: Confirmed Status in isc-dhcp source package in Vivid: Confirmed Status in isc-dhcp source package in w-series: Confirmed Bug description: given 3 nics eth0, eth1, eth2 dhclient -1 -v -pf /run/dhclient.eth0.pid -lf /var/lib/dhcp/dhclient.eth0.leases eth0 while that in its early phases, if eth1 is renamed a race condition can cause dhclient to exit failure. example, while running attached 'nic-go-crazy' on other nics, I try ifup eth1 $ sudo ifup eth1 sudo: unable to resolve host ubuntu Internet Systems Consortium DHCP Client 4.3.1 Copyright 2004-2014 Internet Systems Consortium. All rights reserved. For info, please visit https://www.isc.org/software/dhcp/ Error getting interface address for 'nic0317610'; No such device Error getting interface information. If you think you have received this message due to a bug rather than a configuration issue please read the section on submitting bugs on either our web page at www.isc.org or in the README file before submitting a bug. These pages explain the proper process and the information we find helpful for debugging.. exiting. Failed to bring up eth1. ProblemType: Bug DistroRelease: Ubuntu 15.04 Package: isc-dhcp-client 4.3.1-5ubuntu2 ProcVersionSignature: User Name 3.19.0-15.15-generic 3.19.3 Uname: Linux 3.19.0-15-generic x86_64 ApportVersion: 2.17.2-0ubuntu1 Architecture: amd64 Date: Tue Apr 21 16:35:10 2015 DhclientLeases: ProcEnviron: TERM=screen PATH=(custom, no user) XDG_RUNTIME_DIR=set LANG=en_US.UTF-8 SHELL=/bin/bash SourcePackage: isc-dhcp UpgradeStatus: No upgrade log present (probably fresh install) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/isc-dhcp/+bug/1446767/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1446767] Re: dhclient can fail if other nics are renamed
** Description changed: given 3 nics eth0, eth1, eth2 dhclient -1 -v -pf /run/dhclient.eth0.pid -lf /var/lib/dhcp/dhclient.eth0.leases eth0 while that in its early phases, if eth1 is renamed a race condition can cause dhclient to exit failure. + + This can happen in real life when udev and persistent rules are used. + Ie, in a system where eth0 is configured for 'auto' and dhcp and + persistent rules cause renaming of devices during boot. + + I have set up recreate of that more complex system + lp:~smoser/+junk/lp128 , but this recreate is simpler to catch. example, while running attached 'nic-go-crazy' on other nics, I try ifup eth1 $ sudo ifup eth1 sudo: unable to resolve host ubuntu Internet Systems Consortium DHCP Client 4.3.1 Copyright 2004-2014 Internet Systems Consortium. All rights reserved. For info, please visit https://www.isc.org/software/dhcp/ Error getting interface address for 'nic0317610'; No such device Error getting interface information. If you think you have received this message due to a bug rather than a configuration issue please read the section on submitting bugs on either our web page at www.isc.org or in the README file before submitting a bug. These pages explain the proper process and the information we find helpful for debugging.. exiting. Failed to bring up eth1. ProblemType: Bug DistroRelease: Ubuntu 15.04 Package: isc-dhcp-client 4.3.1-5ubuntu2 ProcVersionSignature: User Name 3.19.0-15.15-generic 3.19.3 Uname: Linux 3.19.0-15-generic x86_64 ApportVersion: 2.17.2-0ubuntu1 Architecture: amd64 Date: Tue Apr 21 16:35:10 2015 DhclientLeases: - + ProcEnviron: - TERM=screen - PATH=(custom, no user) - XDG_RUNTIME_DIR=set - LANG=en_US.UTF-8 - SHELL=/bin/bash + TERM=screen + PATH=(custom, no user) + XDG_RUNTIME_DIR=set + LANG=en_US.UTF-8 + SHELL=/bin/bash SourcePackage: isc-dhcp UpgradeStatus: No upgrade log present (probably fresh install) -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to isc-dhcp in Ubuntu. https://bugs.launchpad.net/bugs/1446767 Title: dhclient can fail if other nics are renamed Status in isc-dhcp package in Ubuntu: Confirmed Status in isc-dhcp source package in Trusty: Confirmed Status in isc-dhcp source package in Vivid: Confirmed Status in isc-dhcp source package in w-series: Confirmed Bug description: given 3 nics eth0, eth1, eth2 dhclient -1 -v -pf /run/dhclient.eth0.pid -lf /var/lib/dhcp/dhclient.eth0.leases eth0 while that in its early phases, if eth1 is renamed a race condition can cause dhclient to exit failure. This can happen in real life when udev and persistent rules are used. Ie, in a system where eth0 is configured for 'auto' and dhcp and persistent rules cause renaming of devices during boot. I have set up recreate of that more complex system lp:~smoser/+junk/lp128 , but this recreate is simpler to catch. example, while running attached 'nic-go-crazy' on other nics, I try ifup eth1 $ sudo ifup eth1 sudo: unable to resolve host ubuntu Internet Systems Consortium DHCP Client 4.3.1 Copyright 2004-2014 Internet Systems Consortium. All rights reserved. For info, please visit https://www.isc.org/software/dhcp/ Error getting interface address for 'nic0317610'; No such device Error getting interface information. If you think you have received this message due to a bug rather than a configuration issue please read the section on submitting bugs on either our web page at www.isc.org or in the README file before submitting a bug. These pages explain the proper process and the information we find helpful for debugging.. exiting. Failed to bring up eth1. ProblemType: Bug DistroRelease: Ubuntu 15.04 Package: isc-dhcp-client 4.3.1-5ubuntu2 ProcVersionSignature: User Name 3.19.0-15.15-generic 3.19.3 Uname: Linux 3.19.0-15-generic x86_64 ApportVersion: 2.17.2-0ubuntu1 Architecture: amd64 Date: Tue Apr 21 16:35:10 2015 DhclientLeases: ProcEnviron: TERM=screen PATH=(custom, no user) XDG_RUNTIME_DIR=set LANG=en_US.UTF-8 SHELL=/bin/bash SourcePackage: isc-dhcp UpgradeStatus: No upgrade log present (probably fresh install) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/isc-dhcp/+bug/1446767/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1446767] Re: dhclient can fail if other nics are renamed
** Patch added: patch for trusty https://bugs.launchpad.net/ubuntu/+source/isc-dhcp/+bug/1446767/+attachment/4380752/+files/lp-1446767-trusty.diff -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to isc-dhcp in Ubuntu. https://bugs.launchpad.net/bugs/1446767 Title: dhclient can fail if other nics are renamed Status in isc-dhcp package in Ubuntu: Confirmed Status in isc-dhcp source package in Trusty: Confirmed Status in isc-dhcp source package in Vivid: Confirmed Status in isc-dhcp source package in w-series: Confirmed Bug description: given 3 nics eth0, eth1, eth2 dhclient -1 -v -pf /run/dhclient.eth0.pid -lf /var/lib/dhcp/dhclient.eth0.leases eth0 while that in its early phases, if eth1 is renamed a race condition can cause dhclient to exit failure. This can happen in real life when udev and persistent rules are used. Ie, in a system where eth0 is configured for 'auto' and dhcp and persistent rules cause renaming of devices during boot. I have set up recreate of that more complex system lp:~smoser/+junk/lp128 , but this recreate is simpler to catch. example, while running attached 'nic-go-crazy' on other nics, I try ifup eth1 $ sudo ifup eth1 sudo: unable to resolve host ubuntu Internet Systems Consortium DHCP Client 4.3.1 Copyright 2004-2014 Internet Systems Consortium. All rights reserved. For info, please visit https://www.isc.org/software/dhcp/ Error getting interface address for 'nic0317610'; No such device Error getting interface information. If you think you have received this message due to a bug rather than a configuration issue please read the section on submitting bugs on either our web page at www.isc.org or in the README file before submitting a bug. These pages explain the proper process and the information we find helpful for debugging.. exiting. Failed to bring up eth1. ProblemType: Bug DistroRelease: Ubuntu 15.04 Package: isc-dhcp-client 4.3.1-5ubuntu2 ProcVersionSignature: User Name 3.19.0-15.15-generic 3.19.3 Uname: Linux 3.19.0-15-generic x86_64 ApportVersion: 2.17.2-0ubuntu1 Architecture: amd64 Date: Tue Apr 21 16:35:10 2015 DhclientLeases: ProcEnviron: TERM=screen PATH=(custom, no user) XDG_RUNTIME_DIR=set LANG=en_US.UTF-8 SHELL=/bin/bash SourcePackage: isc-dhcp UpgradeStatus: No upgrade log present (probably fresh install) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/isc-dhcp/+bug/1446767/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1446767] Re: dhclient can fail if other nics are renamed
** Tags added: patch -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to isc-dhcp in Ubuntu. https://bugs.launchpad.net/bugs/1446767 Title: dhclient can fail if other nics are renamed Status in isc-dhcp package in Ubuntu: Confirmed Status in isc-dhcp source package in Trusty: Confirmed Status in isc-dhcp source package in Vivid: Confirmed Status in isc-dhcp source package in w-series: Confirmed Bug description: given 3 nics eth0, eth1, eth2 dhclient -1 -v -pf /run/dhclient.eth0.pid -lf /var/lib/dhcp/dhclient.eth0.leases eth0 while that in its early phases, if eth1 is renamed a race condition can cause dhclient to exit failure. This can happen in real life when udev and persistent rules are used. Ie, in a system where eth0 is configured for 'auto' and dhcp and persistent rules cause renaming of devices during boot. I have set up recreate of that more complex system lp:~smoser/+junk/lp128 , but this recreate is simpler to catch. example, while running attached 'nic-go-crazy' on other nics, I try ifup eth1 $ sudo ifup eth1 sudo: unable to resolve host ubuntu Internet Systems Consortium DHCP Client 4.3.1 Copyright 2004-2014 Internet Systems Consortium. All rights reserved. For info, please visit https://www.isc.org/software/dhcp/ Error getting interface address for 'nic0317610'; No such device Error getting interface information. If you think you have received this message due to a bug rather than a configuration issue please read the section on submitting bugs on either our web page at www.isc.org or in the README file before submitting a bug. These pages explain the proper process and the information we find helpful for debugging.. exiting. Failed to bring up eth1. ProblemType: Bug DistroRelease: Ubuntu 15.04 Package: isc-dhcp-client 4.3.1-5ubuntu2 ProcVersionSignature: User Name 3.19.0-15.15-generic 3.19.3 Uname: Linux 3.19.0-15-generic x86_64 ApportVersion: 2.17.2-0ubuntu1 Architecture: amd64 Date: Tue Apr 21 16:35:10 2015 DhclientLeases: ProcEnviron: TERM=screen PATH=(custom, no user) XDG_RUNTIME_DIR=set LANG=en_US.UTF-8 SHELL=/bin/bash SourcePackage: isc-dhcp UpgradeStatus: No upgrade log present (probably fresh install) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/isc-dhcp/+bug/1446767/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1446767] Re: dhclient can fail if other nics are renamed
I've also put these attached recreate programs and the original kvm boot recreate at lp:~smoser/+junk/lp128/ -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to isc-dhcp in Ubuntu. https://bugs.launchpad.net/bugs/1446767 Title: dhclient can fail if other nics are renamed Status in isc-dhcp package in Ubuntu: Confirmed Status in isc-dhcp source package in Trusty: Confirmed Status in isc-dhcp source package in Vivid: Confirmed Status in isc-dhcp source package in w-series: Confirmed Bug description: given 3 nics eth0, eth1, eth2 dhclient -1 -v -pf /run/dhclient.eth0.pid -lf /var/lib/dhcp/dhclient.eth0.leases eth0 while that in its early phases, if eth1 is renamed a race condition can cause dhclient to exit failure. This can happen in real life when udev and persistent rules are used. Ie, in a system where eth0 is configured for 'auto' and dhcp and persistent rules cause renaming of devices during boot. I have set up recreate of that more complex system lp:~smoser/+junk/lp128 , but this recreate is simpler to catch. example, while running attached 'nic-go-crazy' on other nics, I try ifup eth1 $ sudo ifup eth1 sudo: unable to resolve host ubuntu Internet Systems Consortium DHCP Client 4.3.1 Copyright 2004-2014 Internet Systems Consortium. All rights reserved. For info, please visit https://www.isc.org/software/dhcp/ Error getting interface address for 'nic0317610'; No such device Error getting interface information. If you think you have received this message due to a bug rather than a configuration issue please read the section on submitting bugs on either our web page at www.isc.org or in the README file before submitting a bug. These pages explain the proper process and the information we find helpful for debugging.. exiting. Failed to bring up eth1. ProblemType: Bug DistroRelease: Ubuntu 15.04 Package: isc-dhcp-client 4.3.1-5ubuntu2 ProcVersionSignature: User Name 3.19.0-15.15-generic 3.19.3 Uname: Linux 3.19.0-15-generic x86_64 ApportVersion: 2.17.2-0ubuntu1 Architecture: amd64 Date: Tue Apr 21 16:35:10 2015 DhclientLeases: ProcEnviron: TERM=screen PATH=(custom, no user) XDG_RUNTIME_DIR=set LANG=en_US.UTF-8 SHELL=/bin/bash SourcePackage: isc-dhcp UpgradeStatus: No upgrade log present (probably fresh install) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/isc-dhcp/+bug/1446767/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1446767] Re: dhclient can fail if other nics are renamed
The solution here was pulled from https://bugzilla.redhat.com/show_bug.cgi?id=449946 The patch really just makes linux use getifaddrs rather than reading /proc/net/dev for information. The change has been in place in fedora for ~ 3 years, so that should stand as some testimony. ** Bug watch added: Red Hat Bugzilla #449946 https://bugzilla.redhat.com/show_bug.cgi?id=449946 -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to isc-dhcp in Ubuntu. https://bugs.launchpad.net/bugs/1446767 Title: dhclient can fail if other nics are renamed Status in isc-dhcp package in Ubuntu: Confirmed Status in isc-dhcp source package in Trusty: Confirmed Status in isc-dhcp source package in Vivid: Confirmed Status in isc-dhcp source package in w-series: Confirmed Bug description: given 3 nics eth0, eth1, eth2 dhclient -1 -v -pf /run/dhclient.eth0.pid -lf /var/lib/dhcp/dhclient.eth0.leases eth0 while that in its early phases, if eth1 is renamed a race condition can cause dhclient to exit failure. This can happen in real life when udev and persistent rules are used. Ie, in a system where eth0 is configured for 'auto' and dhcp and persistent rules cause renaming of devices during boot. I have set up recreate of that more complex system lp:~smoser/+junk/lp128 , but this recreate is simpler to catch. example, while running attached 'nic-go-crazy' on other nics, I try ifup eth1 $ sudo ifup eth1 sudo: unable to resolve host ubuntu Internet Systems Consortium DHCP Client 4.3.1 Copyright 2004-2014 Internet Systems Consortium. All rights reserved. For info, please visit https://www.isc.org/software/dhcp/ Error getting interface address for 'nic0317610'; No such device Error getting interface information. If you think you have received this message due to a bug rather than a configuration issue please read the section on submitting bugs on either our web page at www.isc.org or in the README file before submitting a bug. These pages explain the proper process and the information we find helpful for debugging.. exiting. Failed to bring up eth1. ProblemType: Bug DistroRelease: Ubuntu 15.04 Package: isc-dhcp-client 4.3.1-5ubuntu2 ProcVersionSignature: User Name 3.19.0-15.15-generic 3.19.3 Uname: Linux 3.19.0-15-generic x86_64 ApportVersion: 2.17.2-0ubuntu1 Architecture: amd64 Date: Tue Apr 21 16:35:10 2015 DhclientLeases: ProcEnviron: TERM=screen PATH=(custom, no user) XDG_RUNTIME_DIR=set LANG=en_US.UTF-8 SHELL=/bin/bash SourcePackage: isc-dhcp UpgradeStatus: No upgrade log present (probably fresh install) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/isc-dhcp/+bug/1446767/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp