[Bug 1759307] Re: missing dependency on isc-dhcp-client (dhclient)

Steve Langasek steve.langasek at canonical.com
Tue Apr 24 22:45:00 UTC 2018


On Thu, Mar 29, 2018 at 01:23:13AM -0000, Scott Moser wrote:
> "Packages that care about networking support in the initramfs should instead
> take care themselves to depend on isc-dhcp-client."

> Reworded:
>   Packages that care about <function> should take care to depend on <package> themselves.

> Generally that's not how things work, and results in maintenance
> elsewhere.  Now *those* packages had to be updated, and later on have to
> be fixed if initramfs-tools ever updated again should initramfs-tools
> ever update its implementation.

Sorry for failing to explicitly ack this.  I think that you're right, we
shouldn't expect a third package to know that if they want dhcp support from
initramfs-tools, that this requires isc-dhcp-client.  Either initramfs-tools
should depend on isc-dhcp-client itself, or the dhcp support should be split
out of initramfs-tools into isc-dhcp-client; and either way it shouldn't
really be cloud-init's problem.

In any case, due to this outstanding issue, isc-dhcp-client has NOT been
dropped from the minimal seed for 18.04 and will not be.

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

Title:
  missing dependency on isc-dhcp-client (dhclient)

Status in cloud-init package in Ubuntu:
  Fix Released
Status in initramfs-tools package in Ubuntu:
  Invalid

Bug description:
  cloud-init uses isc-dhcp-client (through 'dhclient') to obtain temporary
  dhcp ip addresses.  It currently does not identify a dependency on it.

  initramfs-tools uses dhclient in scripts/functions to obtain ipv6 addresses
  (see bug 1621507 for more info).

  This bug was prompted by MP to remove isc-dhcp-client from the ubuntu-minimal seed
   https://code.launchpad.net/~vorlon/ubuntu-seeds/platform.bionic-dhcp-switch/+merge/342013

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cloud-init/+bug/1759307/+subscriptions



More information about the foundations-bugs mailing list