← Back to team overview

enterprise-support team mailing list archive

[Bug 1717983] [NEW] replacement of isc-dhcp-client with with systemd-networkd for dhclient needs integration

 

Public bug reported:

dhclient has been used as the dhcp client in Ubuntu and debian for
many years. Over time, many packages have integrated with dhclient.
The list below is of packages that have declared a dependency and
those that have shipped hooks to be invoked by dhclient.

As we move to systemd-networkd these will have to be addressed.

# ./get-rdeps isc-dhcp-client | sort -u
breaks - initramfs-tools (initramfs-tools)
depends - dracut (dracut-network)
depends - isc-dhcp (isc-dhcp-client-ddns)
depends - libguestfs (libguestfs0)
depends - maas (python3-maas-provisioningserver)
depends - netscript-2.4 (netscript-2.4)
depends - network-manager (network-manager)
depends - ubuntu-meta (ubuntu-minimal)
depends - walinuxagent (walinuxagent)
depends - whereami (whereami)
depends - wicd (wicd-daemon)
depends - wifi-radar (wifi-radar)
enhances - resolvconf (resolvconf)
recommends - avahi (avahi-autoipd)
recommends - ifupdown (ifupdown)
recommends - ifupdown2 (ifupdown2)
recommends - madwimax (madwimax)

$ apt-file search '/etc/dhcp/' | grep 'hooks.d/' | sed 's,:.*,,' | sort -u
avahi-autoipd
cloud-init
controlaula
ddclient
isc-dhcp-client
ntp
ntpdate
openresolv
resolvconf
samba-common
sendmail-base
systemd
whereami

Another possible integration point that is not likely listed in the package
dependencies is reading of the leases file for additional information.
As an example, Azure advertises the location of its http based metadata
service as an option in a dhclient response.  cloud-init will read the
lease files to find the correct address.

Related bugs:
 * bug 1713803: replacement of resolvconf with systemd needs integration 


ProblemType: Bug
DistroRelease: Ubuntu 17.10
Package: isc-dhcp-client 4.3.5-3ubuntu1
ProcVersionSignature: Ubuntu 4.12.0-11.12-generic 4.12.5
Uname: Linux 4.12.0-11-generic x86_64
NonfreeKernelModules: zfs zunicode zavl zcommon znvpair
ApportVersion: 2.20.7-0ubuntu1
Architecture: amd64
CurrentDesktop: GNOME
Date: Mon Sep 18 12:46:31 2017
DhclientLeases:

EcryptfsInUse: Yes
InstallationDate: Installed on 2015-07-23 (788 days ago)
InstallationMedia: Ubuntu 15.10 "Wily Werewolf" - Alpha amd64 (20150722.1)
ProcEnviron:
 TERM=xterm-256color
 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)

** Affects: avahi (Ubuntu)
     Importance: Undecided
         Status: New

** Affects: cloud-init (Ubuntu)
     Importance: Undecided
         Status: New

** Affects: controlaula (Ubuntu)
     Importance: Undecided
         Status: New

** Affects: ddclient (Ubuntu)
     Importance: Undecided
         Status: New

** Affects: dracut (Ubuntu)
     Importance: Undecided
         Status: New

** Affects: ifupdown (Ubuntu)
     Importance: Undecided
         Status: New

** Affects: ifupdown2 (Ubuntu)
     Importance: Undecided
         Status: New

** Affects: initramfs-tools (Ubuntu)
     Importance: Undecided
         Status: New

** Affects: isc-dhcp (Ubuntu)
     Importance: Undecided
         Status: New

** Affects: libguestfs (Ubuntu)
     Importance: Undecided
         Status: New

** Affects: maas (Ubuntu)
     Importance: Undecided
         Status: New

** Affects: madwimax (Ubuntu)
     Importance: Undecided
         Status: New

** Affects: netscript-2.4 (Ubuntu)
     Importance: Undecided
         Status: New

** Affects: network-manager (Ubuntu)
     Importance: Undecided
         Status: New

** Affects: ntp (Ubuntu)
     Importance: Undecided
         Status: New

** Affects: openresolv (Ubuntu)
     Importance: Undecided
         Status: New

** Affects: resolvconf (Ubuntu)
     Importance: Undecided
         Status: New

** Affects: samba (Ubuntu)
     Importance: Undecided
         Status: New

** Affects: sendmail (Ubuntu)
     Importance: Undecided
         Status: New

** Affects: ubuntu-meta (Ubuntu)
     Importance: Undecided
         Status: New

** Affects: walinuxagent (Ubuntu)
     Importance: Undecided
         Status: New

** Affects: whereami (Ubuntu)
     Importance: Undecided
         Status: New

** Affects: wicd (Ubuntu)
     Importance: Undecided
         Status: New

** Affects: wifi-radar (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apparmor apport-bug artful

** Attachment added: "get-rdeps: script to dump reverse dependencies from apt-cache data"
   https://bugs.launchpad.net/bugs/1717983/+attachment/4952319/+files/get-rdeps

** Also affects: dracut (Ubuntu)
   Importance: Undecided
       Status: New

** Also affects: libguestfs (Ubuntu)
   Importance: Undecided
       Status: New

** Also affects: initramfs-tools (Ubuntu)
   Importance: Undecided
       Status: New

** Also affects: maas (Ubuntu)
   Importance: Undecided
       Status: New

** Also affects: netscript-2.4 (Ubuntu)
   Importance: Undecided
       Status: New

** Also affects: network-manager (Ubuntu)
   Importance: Undecided
       Status: New

** Also affects: ubuntu-meta (Ubuntu)
   Importance: Undecided
       Status: New

** Also affects: walinuxagent (Ubuntu)
   Importance: Undecided
       Status: New

** Also affects: whereami (Ubuntu)
   Importance: Undecided
       Status: New

** Also affects: wicd (Ubuntu)
   Importance: Undecided
       Status: New

** Also affects: wifi-radar (Ubuntu)
   Importance: Undecided
       Status: New

** Also affects: resolvconf (Ubuntu)
   Importance: Undecided
       Status: New

** Also affects: avahi (Ubuntu)
   Importance: Undecided
       Status: New

** Also affects: ifupdown (Ubuntu)
   Importance: Undecided
       Status: New

** Also affects: ifupdown2 (Ubuntu)
   Importance: Undecided
       Status: New

** Also affects: madwimax (Ubuntu)
   Importance: Undecided
       Status: New

** Also affects: cloud-init (Ubuntu)
   Importance: Undecided
       Status: New

** Also affects: controlaula (Ubuntu)
   Importance: Undecided
       Status: New

** Also affects: ddclient (Ubuntu)
   Importance: Undecided
       Status: New

** Also affects: ntp (Ubuntu)
   Importance: Undecided
       Status: New

** Also affects: openresolv (Ubuntu)
   Importance: Undecided
       Status: New

** Also affects: samba (Ubuntu)
   Importance: Undecided
       Status: New

** Also affects: sendmail (Ubuntu)
   Importance: Undecided
       Status: New

** Description changed:

  dhclient has been used as the dhcp client in Ubuntu and debian for
  many years. Over time, many packages have integrated with dhclient.
  The list below is of packages that have declared a dependency and
  those that have shipped hooks to be invoked by dhclient.
  
  As we move to systemd-networkd these will have to be addressed.
  
  # ./get-rdeps isc-dhcp-client | sort -u
  breaks - initramfs-tools (initramfs-tools)
  depends - dracut (dracut-network)
  depends - isc-dhcp (isc-dhcp-client-ddns)
  depends - libguestfs (libguestfs0)
  depends - maas (python3-maas-provisioningserver)
  depends - netscript-2.4 (netscript-2.4)
  depends - network-manager (network-manager)
  depends - ubuntu-meta (ubuntu-minimal)
  depends - walinuxagent (walinuxagent)
  depends - whereami (whereami)
  depends - wicd (wicd-daemon)
  depends - wifi-radar (wifi-radar)
  enhances - resolvconf (resolvconf)
  recommends - avahi (avahi-autoipd)
  recommends - ifupdown (ifupdown)
  recommends - ifupdown2 (ifupdown2)
  recommends - madwimax (madwimax)
  
  $ apt-file search '/etc/dhcp/' | grep 'hooks.d/' | sed 's,:.*,,' | sort -u
  avahi-autoipd
  cloud-init
  controlaula
  ddclient
  isc-dhcp-client
  ntp
  ntpdate
  openresolv
  resolvconf
  samba-common
  sendmail-base
  systemd
  whereami
  
  Another possible integration point that is not likely listed in the package
  dependencies is reading of the leases file for additional information.
  As an example, Azure advertises the location of its http based metadata
  service as an option in a dhclient response.  cloud-init will read the
  lease files to find the correct address.
  
+ Related bugs:
+  * bug 1713803: replacement of resolvconf with systemd needs integration 
+ 
+ 
  ProblemType: Bug
  DistroRelease: Ubuntu 17.10
  Package: isc-dhcp-client 4.3.5-3ubuntu1
  ProcVersionSignature: Ubuntu 4.12.0-11.12-generic 4.12.5
  Uname: Linux 4.12.0-11-generic x86_64
  NonfreeKernelModules: zfs zunicode zavl zcommon znvpair
  ApportVersion: 2.20.7-0ubuntu1
  Architecture: amd64
  CurrentDesktop: GNOME
  Date: Mon Sep 18 12:46:31 2017
  DhclientLeases:
-  
+ 
  EcryptfsInUse: Yes
  InstallationDate: Installed on 2015-07-23 (788 days ago)
  InstallationMedia: Ubuntu 15.10 "Wily Werewolf" - Alpha amd64 (20150722.1)
  ProcEnviron:
-  TERM=xterm-256color
-  PATH=(custom, no user)
-  XDG_RUNTIME_DIR=<set>
-  LANG=en_US.UTF-8
-  SHELL=/bin/bash
+  TERM=xterm-256color
+  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
Server/Client Support Team, which is subscribed to samba in Ubuntu.
Matching subscriptions: Ubuntu Server/Client Support Team
https://bugs.launchpad.net/bugs/1717983

Title:
  replacement of isc-dhcp-client with with systemd-networkd for dhclient
  needs integration

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


Follow ups