replacement of isc-dhcp-client with with systemd-networkd for dhclient needs integration
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
avahi (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
cloud-init (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
controlaula (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
ddclient (Ubuntu) |
Triaged
|
High
|
Unassigned | ||
maas (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
madwimax (Ubuntu) |
Triaged
|
Undecided
|
Unassigned | ||
ntp (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
openresolv (Ubuntu) |
Won't Fix
|
Undecided
|
Unassigned | ||
resolvconf (Ubuntu) |
Won't Fix
|
Undecided
|
Unassigned | ||
samba (Ubuntu) |
Triaged
|
Medium
|
Unassigned | ||
sendmail (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
ubuntu-meta (Ubuntu) |
Won't Fix
|
Undecided
|
Unassigned |
Bug Description
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-
depends - libguestfs (libguestfs0)
depends - maas (python3-
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
ProcVersionSign
Uname: Linux 4.12.0-11-generic x86_64
NonfreeKernelMo
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-
PATH=(custom, no user)
XDG_RUNTIME_
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: isc-dhcp
UpgradeStatus: No upgrade log present (probably fresh install)
Related branches
- Robie Basak: Needs Fixing
- Canonical Server: Pending requested
- git-ubuntu developers: Pending requested
-
Diff: 1669 lines (+1376/-16)9 files modifieddebian/README.Debian (+17/-0)
debian/changelog (+1316/-0)
debian/control (+2/-1)
debian/ntp-systemd-netif.path (+8/-0)
debian/ntp-systemd-netif.service (+4/-0)
debian/ntp.conf (+19/-10)
debian/ntp.dhcp (+6/-4)
debian/ntpdate.default (+1/-1)
debian/rules (+3/-0)
description: | updated |
no longer affects: | netscript-2.4 (Ubuntu) |
no longer affects: | initramfs-tools (Ubuntu) |
Changed in ubuntu-meta (Ubuntu): | |
status: | New → Triaged |
no longer affects: | wifi-radar (Ubuntu) |
tags: | added: netplan-transition |
tags: | added: id-59c57605d1dfa992a27e9102 |
tags: | removed: id-59c57605d1dfa992a27e9102 |
Packages which depend on isc-dhcp-client do so because they invoke the dhcp client directly for their own purposes. This will not change; systemd-networkd does not expose a dhcp client for direct use by other callers.